Re: Client side changes not reflected in page
- From: bruce barker <nospam@xxxxxxxxxx>
- Date: Wed, 31 Jan 2007 17:38:25 -0800
view source shows what the server sent, not the current state of the page. if javascript changed anything it is not reflected in the source.
for example view source of this page looks nothing like the rendered html:
<html>
<body>
<script>
for(var i=0; i< 100; ++i) document.write('hello ' + i + '<br>');
</script>
</body>
</html>
-- bruce (sqlwork.com)
patrickdrd wrote:
Hi everyone!.
I have a hidden input field in a form which I change in some occasions on the client using javascript,
but when I use "view source" I can't see these changes reflected on the page!
Does anyone know what I should do in order for the page to know the change? (Tried with enableviewstate=false, true, whatever, didn't work)
I would like to have the change reflected in the page without doing a postback or on the postback!
Is this possible? Thanks in advance!
- Prev by Date: Request for the permission of type 'System.Data.SqlClient.SqlClientPermission [.....]' failed
- Next by Date: Re: Request for the permission of type 'System.Data.SqlClient.SqlClientPermission [.....]' failed
- Previous by thread: Request for the permission of type 'System.Data.SqlClient.SqlClientPermission [.....]' failed
- Next by thread: Re: Client side changes not reflected in page
- Index(es):
Relevant Pages
|