Hello
Im facing the same problem , does anyone have a solution to this
problem.
Regards
Vikas
On Oct 4, 5:15 pm, joelarson <[EMAIL PROTECTED]> wrote:
> Nevermind everyone, I sorted it out.
>
> On Oct 3, 10:18 am, joelarson <[EMAIL PROTECTED]> wrote:
>
> > The documentation notes that when using the $.ajax() functions option
> > datatype="html":
>
> > "html": Returns HTML as plain text; includedscripttags are
> >evaluated
>
> > however, it doesnotappear to me that this is happening. What am I
> > missing?
>
> > My very simple code is here:
>
> > -----------------
> > ...
>
> > $.ajax({type:"GET",dataType:"html",url:"test.htm",success:function(dta)
> > {
> > alert(dta);
> > }});
> > ...
> > ----------------
>
> > ----test.htm--
> > <div>hello</div>
> > <scriptlanguage="JavaScript">
> > alert("hello?");
> > </script>
> > --------------
>
> > I do get my alert with the content from alert(dta), but I never get an
> > alert with "hello?". What am I missing?