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!

Search results for query: *

  1. gimecoffee

    read browser window properties

    The method you mentioned does sound a little unreliable so I think I'll just pop-up an alert letting the user know they shouldn't use the navigation buttons. Thanks Dan Rois Cannon
  2. gimecoffee

    read browser window properties

    thread216-1125568 was not answered and I'm curious. I'm writing a web based application and I'd like to query window properties for possible action. For instance: if(window.toolbar.visible == true) { window.open('/startup.html','','width=700, height=500, left=0, top=0, screenX=0, screenY=0...
  3. gimecoffee

    Ajax - crashing IE

    I took a look at prototype and it looks good. I do try to us pre-done stuff when it works for me but I'm still learning JS so the experience of writing my own is help me learn more. Thanx Rois
  4. gimecoffee

    Ajax - crashing IE

    Well, I setup a test script to send numbers 1 to n to the server and have the server send back a js to put that number in the innerHTML of an anchor. Worked perfectly. Even 1 to 1000. I think I figured out what the problem was. Most of my ajax requests are done before I close the window...
  5. gimecoffee

    Ajax - crashing IE

    I added the 'new' object win[x] = new ajaxRequest(document.forms[0],'','ajax_ee_tc_sub'); x++; but I'm still having the same issue and yes it is doing the same thing on 2 completely different machines with XP IE. I'll give your test script idea a try and see if I have the same problem. Thanx...
  6. gimecoffee

    ajax, posting multiple checkbox values

    I didn't know you could submit multiple checkboxes with the same name. I usually do it with an array name in html <input type="checkbox" id="mumu[0]" value="john"> <input type="checkbox" id="mumu[1]" value="ralph"> <input type="checkbox" id="mumu[2]" value="steve"> If they are checked and...
  7. gimecoffee

    Ajax - crashing IE

    PHP is not in these scripts. This is an external script file. I'd have to admit I'm still kinduva js novice and I'm probably doing way more complicated stuff than I ought but but that seems to be the way I learn best. I'm wondering if calling the routine the way I do...
  8. gimecoffee

    Ajax - crashing IE

    I forgot to mention I'm calling it usually like this: <button onclick="ajaxRequest(document.forms[0],'','ajax_ee_tc_sub');return false;">gogo</button> Rois
  9. gimecoffee

    Ajax - crashing IE

    My Ajax routine runs a dozen times (or so) with no problem and then stops all internet connections. Javascript is still working since I have some js popup windows that still activate but my ajax routine (saving data to the server) stops working and I can't post/get a form to the server. I read...
  10. gimecoffee

    AJAX / Firefox crashing on close() response

    That was an error. Should have been window.close(); but the script isn't hitting that in this instance since ajax is connecting and getting a response back. I got it to work correctly by replacing window.myClose(); with self.setTimeout('window.close();',500); in the server return response...
  11. gimecoffee

    AJAX / Firefox crashing on close() response

    Dan, I added function myClose(){ window.close(); } to my page and changed my scripts to use window.myClose and changed the server returned code to be if(opener.prm06)opener.prm06['04']['uid']='john'; window.myClose(); But it's still crashing ALL FF windows. Thoughts? Rois
  12. gimecoffee

    Check if Javascript Window is Open

    I've only done this for child windows but I believe the same principal should apply. You'd need to have named the window you want to look for when you opened it. eg. winapp=window.open(); Then you should be able to look for it with if (winapp && winapp.open && !winapp.closed) {[somecode]}...
  13. gimecoffee

    AJAX / Firefox crashing on close() response

    My onreadystatechange is calling the function updatePage(see below.) function updatePage() { if(document.getElementById('readystate')){ document.getElementById('readystate').innerHTML='Ready State is '+doc.readyState; } if (doc.readyState == 4) { if (doc.status == 200) { var...
  14. gimecoffee

    External js crashing ie

    I found an obscure, unrelated script source that assigned everything I want to send,including the external javascript, to a variable first and then write the variable. That appears to be the trick. Thanx for the input. Rois <html> <script> var win151122; function closeDep() { if...
  15. gimecoffee

    External js crashing ie

    No difference. Any other thoughts? Tusan Tuk Rois
  16. gimecoffee

    External js crashing ie

    Whether '/weblib/lib_ajax.js' is blank, has ONLY 'var a=4;' OR is full of lots of functions, when I activate the child in IE it crashes windows. No problems in Firefox. If I leave win151122.document.write('<script type="text/javascript" src="/weblib/lib_ajax.js"><\/script>'); out of the...
  17. gimecoffee

    window.open crashing ie

    I should probably mention, in case it's important, that the parent is a secure web page(https://). -Rois
  18. gimecoffee

    window.open crashing ie

    This is everything in lib_ajax.js. Could the problem be because I'm building the popup instead of calling the contents from a server? Since my src is a relative path instead of fully stated I'm wondering if ie is having a problem finding it sometimes???. I guess that doesn't make that much...
  19. gimecoffee

    window.open crashing ie

    I need to open multiple child windows and have them close if the parent closes or browses away. Here is the essence of the code I'm using. The showreg function can be call multiple times for various 'type,code' and I'm re-using the same window name (win1234) for all the popups so I can make...
  20. gimecoffee

    Variable value as a variable name

    I had tried the 'new Option' command a couple weeks ago. It would work sporadically and then crash IE. (I had to restart windows when it happened.) I'm sure I had something wrong but finally just gave up and used the write command to build the options. I'm kind of new to using javascript to...

Part and Inventory Search

Back
Top