|
-
jQuery won't change inner HTML
In my head tag I have <script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery/jquery-1.6.2.min.js"> </script> and later in another
script tag I have:
$(document).ready(function(){
$("p#test").html("AAAA");
}
In the body of my document I have:
<p id="test">a</p>
However, when I load the page it displays "a" instead of "AAAA".
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
|
Bookmarks