Problem solved.

Thanks anyway.

On Oct 4, 11:39 am, Vítor <rotiv...@gmail.com> wrote:
> I trying to append some text to an html using jquery and it works very
> well on FF, Safari and Chrome. On IE 6/8, it did not append even
> putting the code inside $(document).ready().
>
> Any ideas?
>
> Cheers!
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> <html xmlns="http://www.w3.org/1999/xhtml";>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
> <title>Untitled Document</title>
> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/
> libs/jquery/1.3/jquery.min.js"</script>
> <script>
>         $(document).ready(function() {
>                 $('body').append('Shit!!!');
>         });
> </script>
> </head>
> <body>
> <form action="form-action.php" method="post" name="f1"
> target="myframe" id="f1">
>   <input type="text" name="textfield" id="textfield" />
>   <input type="submit" name="button" id="button" value="Submit" />
> </form>
> <iframe name="myframe" src="blank.php"></iframe>
> </body>
> </html>

Reply via email to