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('<div style="width:100%; height:100%;">'+
> $AJAXCONTENT+'</div>'); });
> $.ajax({
>   url: "test.html",
>   cache: false,
>   success: function(html){
>   $("body").append('<div class="resizable" style="background-
> color:#FFFFFF;"><div class="drag-handle"><span style="float:left; line-
> height:25px;">WindX</span><img src="../../close.png" class="close"
> style="float:right;" alt="Close" width="24" height="24"/></div><div
> class="boxCONTENTS" id="'+$url+'"></div><br/>'),
> $("#"+$url).append(html);
>   }
>   });
>
> but here is the location of the test 
> file...http://www.sjrmc.org/Scripts/jquery.ui-1.6b/demos/functional/Untitled...
> thanks for any help
> jeremyBass
>
> On Sep 8, 8:59 am, jeremyBass <[EMAIL PROTECTED]> wrote:
>
> > Hello, I'm sure this is an easy thing but I'm just not finding what i
> > need to fix and understand this .... Could some one help me fix
> > this ...
>
> > $.ajax({
> >   url: "test.html",
> >   cache: false,
> >   success: function(html){
> >   $("body").append('<div class="resizable" style="background-
> > color:#FFFFFF;"><div class="drag-handle"><span style="float:left; line-
> > height:25px;">WindX</span><img src="../../close.png" class="close"
> > style="float:right;" alt="Close" width="24" height="24"/></div><div
> > class="boxCONTENTS" id="'+url+'"></div><br/>'); });
> > $("#"url).append(html);
> >   }
>
> > });
>
> > thank you for the help here...
> > jeremyBass

Reply via email to