Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Javascript not invoked until browser refresh?

Status
Not open for further replies.

MystiqueOfLife

Programmer
Aug 19, 2006
11
CA
I have a page where I use embedded Javascript to do something basic, like an alert.

The page uses an update panel and an ajaxtabpanel.

The page loads and the javascript alert does not fire until I hit the browser refresh button. Then it fires.

It doesn't matter if I register the script with the script manager or not.

Anyone experienced anything similar before? Any insight is appreciated.

Thanks.

----

Remi
Free Message Forums
 
[ ]

Trying to diagnose the problem without seeing the patient is almost impossible. Please post the offending code.

mmerlinn


"We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding. Answering questions for careless and sloppy thinkers is not rewarding." - Eric Steven Raymond
 
Yeah, I've seen that before, I just typed some extra code onto the page and it worked without fail...




--------
GOOGLE is a great resource to find answers to questions like "how do i..."

If you don't know exaclty what you want to do or what to search on, try Google Suggest: --------
I have recently been semi-converted to ensuring all my code (well most of it) works in both javascript and non-javasc
 
Having the same problem here with the following code on my website

<!-- Begin CoolMiniOrNot CODE -->

<SCRIPT LANGUAGE="JavaScript" SRC="">
</SCRIPT>
<NOSCRIPT>
<a href="<img src=" border=0></a>
<A HREF="" TARGET="_top">
<IMG SRC="" BORDER="0"></A>
</NOSCRIPT>
<!-- End CoolMiniOrNot CODE -->


@vicvirk - what extra code?
 
MortiStheLost,

I see your banner immediately in both IE and Fx... is that what doesn't show up for you, or do you have a different problem?

Perhaps you have an ad blocker installed?



Coedit Limited - Delivering standards compliant, accessible web solutions

Dan's Page [blue]@[/blue] Code Couch:
Code Couch Tech Snippets & Info:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top