|
Showing: 1-10 of 10
Questions:
|
|
 |
How can I open a new window using Javascript?
Use this format for your link code. Change out for the full URL of for the link.
<a onclick="open(this.href,'_new','height=600,width=350,scrollbars=1,resizable=1');return false;" target="_new"...
|
|
| Not rated |
06/23/2009 |
Comments: 0 |
|
|
 |
How can I add a quick javascript error page to my cgi / php scripts?
Displaying form errors and other errors can be a tedious task; one easy way is to use this javascript code:
(Output...
|
|
| Not rated |
07/03/2009 |
Comments: 0 |
|
|
 |
How can I validate a form that has brackets in the variable names?
Sometimes when setting up forms, especially when using php, variable names use bracket notation, like: contact[name]. This causes problems when...
|
|
| Not rated |
06/21/2009 |
Comments: 0 |
|
|
 |
Why do my web forms lose data when I hit the back button?
A common way to allow users to correct problems with their web form submission is to tell them to use...
|
|
| Not rated |
06/17/2009 |
Comments: 0 |
|
|
 |
How to refresh the parent window from a pop up window.?
Sometimes you want to refresh the parent / main window from a popup window. For instance, if the popup window...
|
|
| Not rated |
06/26/2009 |
Comments: 0 |
|
|
 |
How can I submit data to a form from a pop-up window?
In the pop up window, you can trigger the form in the parent / opener window to submit using this...
|
|
| Not rated |
05/30/2009 |
Comments: 0 |
|
|
 |
Configuring htmleditor to do file uploads using php?
To enable htmleditor to use php for file uploads, edit the following files:
edit: htmleditor/editor/filemanager/upload/php/config.php
Change this line:
$Config['Enabled'] = true;
edit: /htmleditor/fckconfig.js
Change...
|
|
| Not rated |
06/30/2009 |
Comments: 0 |
|
|
 |
How can I easily hide / display a form or text on my website?
Here's a simple example of turning on a hidden form / paragraph using javascript.
<a href="#" onclick="document.getElementById('show_car').style.display = 'block';">Show Car</a>
<p>
<span...
|
|
| Not rated |
06/24/2009 |
Comments: 0 |
|
|
 |
IE 7 gives me an "Unknown runtime error" when using ajax - how can I fix this?
There are several reasons this might happen, but I had this issue with a Sunshop shopping cart contact us form. ...
|
|
| Not rated |
09/04/2010 |
Comments: 0 |
|
|
 |
How can I refresh the parent window from a pop-up?
If you want to refresh the main or parent window from a pop up, use this small javascript code:
<script>window.opener.location.href=window.opener.location.href;</script>
This will...
|
|
| Not rated |
09/04/2010 |
Comments: 0 |
|
|