Doing $(\"#someId\").val(\"newValue\") doesn\'t change the DOM --
I can retrieve this value with $(\"#someId\").val(), but the element in the DOM s
Answer if you are using the firebug, there is a bug in it about updating the dom, you must click the window object to refresh it :)
Explanation
@alex i was reading comments below. on @rsp answer and you seem to confuse the dom with the html tree a dom, is a tree like list of values used to keep track of values. and yes click dom tab, or right click the element in question and then inspect it in dom, values, changes dont show up on firebug, because of security reasons that prevent anything other than a browser to change its values or possibly because fire bug, has got it wrong and they probably working on it :)