Click here to Skip to main content
15,885,757 members

Comments by Trajan McGill (Top 13 by date)

Trajan McGill 27-Jun-14 11:36am View    
As the other solution points out, it is also possible that you meant to have the "];" *before* the AmCharts.ready() call, which is actually probably more likely, but I don't have any idea what AmCharts.ready() does or whether you mean to stick the results in the array you're creating or to call it after creating the array.
Trajan McGill 31-Mar-14 10:42am View    
Of course you can get the source code of an HTML file, because that's what is sent to the browser. The reason you can't get source for PHP or some other executable has nothing to do with ajax or jquery. It is because the server doesn't send the code, it sends the output from running the code, which is (usually) HTML.
Trajan McGill 27-Mar-14 10:18am View    
I'm not sure what you are trying to do with this:
image_path :'',slides : [ {image:'picture/1.jpg', title:<Script> showdate()</Script>,thumb:''}
those script tags are unnecessary, you're already in a script block. simply setting the title value to showdate() should work. Are you sure showdate() is working and returning a string successfully? You say it "does not work," but you don't say how it is failing.
Trajan McGill 24-Mar-14 11:18am View    
Actually, if the error is while setting job.RecruiterReference.UserName, an object reference not set error can't be for job.RecruiterReference.UserName-- he's setting the reference in that very line. It would have to be for job or for job.RecruiterReference. The former has been set in the line before, so the conclusion must be that just creating a new job() does not automatically set its RecruiterReference to anything, and therefore there setting the (missing) RecruiterReference's UserName property will fail.
Trajan McGill 24-Mar-14 11:07am View    
At what line is the error found?