...

View Full Version : jquery append in chrome issue



cartergarth
03-02-2012, 07:55 AM
I did something like this:


$('#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.

devnull69
03-02-2012, 08:25 AM
"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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum