How to explicitly run page javascript every time the page load?

J

Jensen bredal

Hello,

I have some javascript on my page but i can see that these scripts are not
beeing run on post back.
The only run the first the page loads. Is there a way to tell the "Page
object" tu run all javascript every time i enter the "page_load" routine?


Many thanks in advance

JB
 
P

Patrice

My first guess would be that you inject those scripts only in a "not
posback" branch ?
Have you tried to use "View source" to see if the problem is that the script
is not sent client side or if the script is there but not triggered for some
reason ?

If it still fails you'll have to post details about how you are doing this
as running each time would be for me the normal behavior...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top