User Profile

Collapse

Profile Sidebar

Collapse
ccyarm
ccyarm
Last Activity: Jan 28 '14, 03:13 PM
Joined: Mar 1 '07
Location: England
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ccyarm
    replied to Submit form onUnload with Firefox
    Thank you, but...

    I'm already using the onbeforeunload event, if the user decides to stay on the page then I will not unlock the records:

    Code:
     
    <body onUnload="unlockrecord();" onbeforeunload="setmess();"> 
      <script language="javascript">
     function unlockrecord()
     {
    	window.onbeforeunload = null; 
    	window.onunload = null;   
    	document.editreport.action="unblock.php";
    ...
    See more | Go to post

    Leave a comment:


  • ccyarm
    started a topic Submit form onUnload with Firefox

    Submit form onUnload with Firefox

    Hello,
    I need to modify the following code to make it work with Firefox. It works perfectly well with IE.
    It seems to me that with Firefox all the form values are lost when the onUnload fires up.

    Code:
     
    <body onUnload="unlockrecords();" > 
      <script language="javascript">
     function unlockrecords()
     {
    	// action is variable during the execution of the program
    ...
    See more | Go to post

  • ccyarm
    started a topic Updating main page with iframe

    Updating main page with iframe

    Hello,
    I have an iframe inside my main page, this main page has a form with several textareas.
    I would like that when I click on a link in my iframe, a text associated with this link would insert into the textarea that has the focus in my main page.

    Is this possible? this will be sort of a clipboard facility for my users.

    your help is very much appreciated.
    thanks
    See more | Go to post
No activity results to display
Show More
Working...