Search

You searched for the word(s): userid:802841

Matching Posts

  • Re: Timing of javascript execution

    [quote user="jamesqua"]The answer to your second question is yes. It will replace any other functions hooked to that event. Here is a way to attach multiple events . Perhaps there is a better way to go about this. What exactly are you trying to achieve? [/quote] Thanks, this is exactly the answer to what I was asking about. [quote user="NC01"] What are you going to sue me if it doesn't? There is no way to guarantee of that. That is just not the way browsers work. [/quote]
    Posted to Client Side Web Development (Forum) by Zeevik on 5/22/2008
  • Re: Timing of javascript execution

    Are you saying it's guaranteed to run only when the page is fully loaded? Also, will it replace any other scripts/functions that are currently hooked up to the window onload event? If so, is there a way to append instead of replacing?
    Posted to Client Side Web Development (Forum) by Zeevik on 5/22/2008
  • Re: Timing of javascript execution

    Yes, I am aware of "onload", but from what I know using it with "body" doesn't guarantee that the page is fully loaded. And also it is supported only by: <body>, <frame>, <frameset>, <iframe>, <img>, <link>, <script>. (at least according to w3schools)
    Posted to Client Side Web Development (Forum) by Zeevik on 5/22/2008
  • Timing of javascript execution

    Hello, Is there a way to force a javascript to execute at certain point in time during page rendering/loading? i.e.: let's say I want the script to run only after the page is fully loaded/rendered. Or, I want it to run only after a table is fully loaded. etc. Thanks.
    Posted to Client Side Web Development (Forum) by Zeevik on 5/22/2008
  • Re: How to restore label's text across postbacks when it is changed by client-side script?

    With AJAX I'm actually posting back to a different aspx page, that runs sql query in the code behind and returns the result in its body, which is then read by the main page and used to update the labels.
    Posted to Web Forms (Forum) by Zeevik on 5/21/2008
  • How to restore label's text across postbacks when it is changed by client-side script?

    Hello all, I have a page that uses AJAX to check info entered in textboxes and display results by changing the text of labels underneath the textboxes. Since label's value/text is not submitted by the form, I use hidden fields (that are updated together with the labels) to restore the text of labels across postbacks. The question is: is there any nicer way of doing that? Maybe I should use some other control, instead of labels, the value of which is submitted? Thank you.
    Posted to Web Forms (Forum) by Zeevik on 5/21/2008
Page 1 of 1 (6 items)