asp.net - Will aspx not see changes made by javascript? -
i changing contents of span javascript. can see has changed view source.
when try contents in c# function right after, still has old value.
my guess asp seeing html sent client, , javascript changing client html of asp cannnot see?
this guess on how explain it. correct?
thanks.
yes, guess correct!
javascript sees client side , asp.net server side. if make change on client side , want server side aware of change, can make use of ajax.
see ajax more info.
in .net can use webservice, controller, or page receiving ajax call.
Comments
Post a Comment