<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1011739" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1011739</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/function-call#comment-1067464</link>
    <description> &lt;p&gt;The best thing to do in this situation is to use a popup window. Collect your data in this window then close it manually after the user has finished.&lt;/p&gt;
&lt;p&gt;You can set the &#039;onUnload&#039; event handler to check when closing the window that the form has been sucessfully completed. If you need more help I can explain further.&lt;/p&gt;
 </description>
     <pubDate>Sat, 15 Jul 2000 15:46:04 +0000</pubDate>
 <dc:creator>Lloyd Hassell</dc:creator>
 <guid isPermaLink="false">comment 1067464 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/function-call#comment-1067457</link>
    <description> &lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;  You would be better served with a server-side solution -- a perl script (or somesuch) that checks the server status codes -- or a server session variable.&lt;/p&gt;
&lt;p&gt;Vinny&lt;/p&gt;
 </description>
     <pubDate>Sat, 15 Jul 2000 14:09:35 +0000</pubDate>
 <dc:creator>Vincent Puglia</dc:creator>
 <guid isPermaLink="false">comment 1067457 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/function-call#comment-1067415</link>
    <description> &lt;p&gt;I am writting one application, I have lots of data in the memory, users can save data in the memory before writing to the database, so in case if user try to close window without saving data to the database, I want to throw an error message.&lt;/p&gt;
&lt;p&gt;One possibility is to use onUnload event, but its going to call that event if user try to go to another page, that not what I want to do, I want to call a JavaScript function only when user tries to close that window.&lt;/p&gt;
 </description>
     <pubDate>Fri, 14 Jul 2000 13:08:54 +0000</pubDate>
 <dc:creator>dhaliwam</dc:creator>
 <guid isPermaLink="false">comment 1067415 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/function-call#comment-1067414</link>
    <description> &lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;  As far as I know, there is no event handler that can trap the browser&#039;s buttons. You might make the window full-screen so the browser is not readily-accessible, but that only hinders clicking them.&lt;/p&gt;
&lt;p&gt;  What are you trying to do?&lt;/p&gt;
&lt;p&gt;Vinny&lt;/p&gt;
 </description>
     <pubDate>Fri, 14 Jul 2000 12:49:38 +0000</pubDate>
 <dc:creator>Vincent Puglia</dc:creator>
 <guid isPermaLink="false">comment 1067414 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/function-call#comment-1067365</link>
    <description> &lt;p&gt;Thanks, but can you please expalain your answer.&lt;/p&gt;
 </description>
     <pubDate>Thu, 13 Jul 2000 19:22:50 +0000</pubDate>
 <dc:creator>dhaliwam</dc:creator>
 <guid isPermaLink="false">comment 1067365 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/function-call#comment-1067352</link>
    <description> &lt;p&gt;easy answer -- not really&lt;/p&gt;
 </description>
     <pubDate>Thu, 13 Jul 2000 18:37:37 +0000</pubDate>
 <dc:creator>Vincent Puglia</dc:creator>
 <guid isPermaLink="false">comment 1067352 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
