that`s a nice way... thanx for telling that 2007/2/27, Yansky <[EMAIL PROTECTED]>:
Try the html() function instead of document.write - http://docs.jquery.com/DOM/Attributes#html.28_val_.29 sccr410 wrote: > > Documentation says to use this: > > $.get("test.cgi", > { name: "John", time: "2pm" }, > function(data){ > alert("Data Loaded: " + data); > } > ); > > Instead of an alert box, I want to write the data var to the page like so: > > $.get("test.cgi", > { name: "John", time: "2pm" }, > function(data){ > document.write("Data Loaded: " + data); > } > ); > > Nothing gets displayed when I do this. > -- View this message in context: http://www.nabble.com/Using-document.write%28%29-in-%24.get-callback-function-tf3298563.html#a9184010 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
_______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/