[jQuery] Re: Help please on Using ajax url as ID

2008-09-08 Thread micah
URLs contain characters that aren't allowed in IDs. the spec (http:// www.w3.org/TR/html401/types.html#type-name) says that IDs must use only a-Z, 0-9, _, : and . -micah On Sep 8, 9:11 am, jeremyBass <[EMAIL PROTECTED]> wrote: > Caught a few errors... current code... > > $("#replaceME").append

[jQuery] Re: Help please on Using ajax url as ID

2008-09-08 Thread jeremyBass
Caught a few errors... current code... $("#replaceME").append(''+ $AJAXCONTENT+''); }); $.ajax({ url: "test.html", cache: false, success: function(html){ $("body").append('WindX'), $("#"+$url).append(html); } }); but here is the location of the test file... http://www.sjrmc.org/Scri