1Cougar
asked on
Button only working once in Safari
Hello,
I have a button on a webpage that works over and over again in Firefox however in Safari (version 5.1) it will only work once. On click a new window is loaded. If I either click another button on the page or force a page reload the button will work again.
Any thoughts on what could be causing this behavior?
Thanks and cheers,
I have a button on a webpage that works over and over again in Firefox however in Safari (version 5.1) it will only work once. On click a new window is loaded. If I either click another button on the page or force a page reload the button will work again.
Any thoughts on what could be causing this behavior?
Thanks and cheers,
Can you provide a link? Or some mock html/javascript?
ASKER
Here is part of my code. All buttons execute again and again except for the "savePDF" button. Funny thing is if I click the "Show" button, then the "SavePDF" button will execute again. Otherwise I have to do a page reload.
<div id="scheduler_here" class="dhx_cal_container" style='width:1000px; height:100%; position:absolute; top:0px; left:250px'>
<div class="dhx_cal_navline">
<div class="dhx_cal_date"></div>
<input type="button" name="save" value="savePDF" onclick="scheduler.toPDF('scheduler-pdf-php/generate.php','fullcolor');" style="right:700px; width:80px; position:absolute; top:1px;"/>
<input type="button" name="download" value="Download" onclick="download()" style="right:600px;" />
<input type="button" name="show" value="Show" onclick="show()" style="right:500px;" />
<input type="button" name="save" value="Save" onclick="save()" style="right:400px;" />
<div class="dhx_cal_tab" name="day_tab" style="right:204px;"></div>
<div class="dhx_cal_tab" name="week_tab" style="right:140px;"></div>
<div class="dhx_cal_tab" name="timeline_tab" style="right:280px;"></div>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
soupBoy pointed me in the right direction!