Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-02-2012, 06:55 AM   PM User | #1
cartergarth
New Coder

 
Join Date: Jul 2011
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
cartergarth is an unknown quantity at this point
jquery append in chrome issue

I did something like this:

Quote:
$('#test').append("<option id='ddm'>added dropdown</option>");
it shows its html in the browser but I can't see it when I view source, is this normal?


Thanks.
cartergarth is offline   Reply With Quote
Old 03-02-2012, 07:25 AM   PM User | #2
devnull69
Senior Coder

 
Join Date: Dec 2010
Posts: 2,245
Thanks: 10
Thanked 531 Times in 525 Posts
devnull69 will become famous soon enough
"View Source" always is a view of the source as delivered by the server originally. Dynamic changes of the page don't show in "View Source" mode. You'll have to adhere to Developer Tools (like Firebug or built-in tools) to actually view the current dynamically altered source.
devnull69 is offline   Reply With Quote
Reply

Bookmarks

Tags
jquery append

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:37 AM.


Advertisement
Log in to turn off these ads.