testing mostly tag maintence



mostly seems to be working ... trying to get the window to close after it is done and to reload the current page ... any ideas greatly appreciated ... and yes, i am talking to you, all of you who know javascript and are just sitting there watching me struggle

Tags

  1. tag maintence
  2. programming

Comments


Seth says
seth 2005-10-30 10:21:00 1773

this is not working in IE
Warning: Invalid argument supplied for foreach() in /home/webadmin/fastblogit.com/html/update/index.html on line 174

Warning: Invalid argument supplied for foreach() in /home/webadmin/fastblogit.com/html/update/index.html on line 195

Warning: Cannot modify header information - headers already sent by (output started at /home/webadmin/fastblogit.com/html/update/index.html:174) in /home/webadmin/fastblogit.com/html/update/index.html on line 222

ok mostly this, falling int floatsam .. or rather falling into the add|say form processing logic has been fixed.  need to watch out for different behavior visa vie room return between IE and FF, as this is server stuff not quite sure why there was a difference.  Oh well .. it is fixed now.

Seth says
Hmmm ...

Q84 Is there a way to close a child window after I click the submit button?

One way to achieve this is to create a timer using setTimeout which closes the child window after an arbitary delay:





is not working


Seth says

this is not working in IE
Warning: Invalid argument supplied for foreach() in /home/webadmin/fastblogit.com/html/update/index.html on line 174

Warning: Invalid argument supplied for foreach() in /home/webadmin/fastblogit.com/html/update/index.html on line 195

Warning: Cannot modify header information - headers already sent by (output started at /home/webadmin/fastblogit.com/html/update/index.html:174) in /home/webadmin/fastblogit.com/html/update/index.html on line 222

Seth says
https://lists.latech.edu/pipermail/javascript/2001-September/002307.html kind of works with

<input type="button" value="submit"  onClick="this.form.submit();opener.location.href='/update/index.html';self.close()">

it, closes the window, and most of the time will pass the right posts
but can't seem to get back witout (bouncing back to /update/ ??)

Seth says
seth 2005-10-30 12:54:32 1773
https://lists.latech.edu/pipermail/javascript/2001-September/002307.html kind of works with

<input type="button" value="submit"  onClick="this.form.submit();opener.location.href='/update/index.html';self.close()">

it, closes the window, and most of the time will pass the right posts
but can't seem to get back witout (bouncing back to /update/ ??)
totally wiggy ... sometimes it works and sometimes it dont submit the form correctly

Seth says
hmmm ... try this ...

<script language="javascript">
  function submitForm() {
    document.frmName.action="http://www.yoursite.com/formresults.cgi";
  }
</script>

<form name="frmName" onSubmit=" javascript:submitForm();">
  <input type="submit" value="Search">
</form>

from here



Seth says
seth 2005-10-30 14:06:45 1773
hmmm ... try this ...

<script language="javascript">
  function submitForm() {
    document.frmName.action="http://www.yoursite.com/formresults.cgi";
  }
</script>

<form name="frmName" onSubmit=" javascript:submitForm();">
  <input type="submit" value="Search">
</form>

from here



good news is that it works reliably
bad news is now i can't close the window

Seth says
seth 2005-10-30 14:24:55 1773
seth 2005-10-30 14:06:45 1773
hmmm ... try this ...

<script language="javascript">
  function submitForm() {
    document.frmName.action="http://www.yoursite.com/formresults.cgi";
  }
</script>

<form name="frmName" onSubmit=" javascript:submitForm();">
  <input type="submit" value="Search">
</form>

from here



good news is that it works reliably
bad news is now i can't close the window

and the real bad news  is that it doesnt even work in IE

See Also

  1. Thought Footer problem on individual page at speaktomecatalog.com with 19 viewings related by tag "programming".
  2. Thought Promotions in the Speak To Me Catalog Shopping Basket with 8 viewings related by tag "programming".
  3. Thought Pride an Glory in Your Code with 4 viewings related by tag "programming".
  4. Thought SQL for selecting triples inside of one field. with 4 viewings related by tag "programming".
  5. Thought How can I change taggings ? with 4 viewings related by tag "tag maintence".
  6. Thought propogate logic from front door to rooms and refactor with 3 viewings related by tag "programming".
  7. Thought about: Then each went to his own home with 1 viewings related by tag "programming".
  8. Thought about: try ruby! (in your browser) with 1 viewings related by tag "programming".
  9. Thought many useful php routines with 1 viewings related by tag "programming".
  10. Thought unzip for install.php with 1 viewings related by tag "programming".
  11. Thought some thoughts on trans domain data transfer with 1 viewings related by tag "programming".
  12. Thought a good place to satisfy question~answer with 0 viewings related by tag "programming".
  13. Thought sources of php code with 0 viewings related by tag "programming".
  14. Thought sql explained for group tagroom with 0 viewings related by tag "programming".
  15. Thought related tags with 0 viewings related by tag "programming".
  16. Thought deactivate HTML in comments - or how and where to escape with 0 viewings related by tag "programming".
  17. Thought ok here is the sizing algorithm that will go into testing with 0 viewings related by tag "programming".
  18. Thought It's on our server now ... wonder if it works with 0 viewings related by tag "programming".
  19. Thought about: five years, building a culture, and handing it off. - laughing meme with 0 viewings related by tag "programming".
  20. Thought Perl regex with 0 viewings related by tag "programming".
  21. Thought [title (1663)] with 0 viewings related by tag "programming".
  22. Thought tutorial for php classes with 0 viewings related by tag "programming".
  23. Thought This is a tutorial on the rte software with 0 viewings related by tag "programming".
  24. Thought work in progress for Chat Who's Here with 0 viewings related by tag "programming".
  25. Thought about: PEAR :: Package :: HTML_AJAX with 0 viewings related by tag "programming".
  26. Thought about: About image buttons in HTML forms (and multi-line texts in normal submit buttons) with 0 viewings related by tag "programming".
  27. Thought programming of edit tag with 0 viewings related by tag "programming".
  28. Thought about: joel bender - google+ - me, after blindly copying a load of code into a project with 0 viewings related by tag "programming".
  29. Thought Playing in the river with 0 viewings related by tag "programming".
  30. Thought the tag maintence window problem goes on with 0 viewings related by tag "programming".
  31. Thought Why does this work on his server and not on mine ? with 0 viewings related by tag "programming".