unfortunately not, I also tried children[i].onblur = new function(node)
that also did not work. :(
User Profile
Collapse
-
When I run it in Firefox it does not generate any errors. However, in IE I get a "not implemented" error for the line :
window.onload = mtc1006(documen t.forms['ctl01']);
here is the full form I am testing, i added an additional condition to the loop to only adjust the onBlur property for "Input" tags:
Code:<HTML><BODY> <form name="ctl01" method="post"
Leave a comment:
-
sorry to be a pest, here is the code i have now:
Code:<SCRIPT language=JavaScript> <!-- Begin function filterNum(obj) { re = /^$|!|$|<|>|"|'|%|,|&|%|;/g; // remove spcial charcters obj.value = obj.value.replace(re, ""); } // End --> var oldonload = window.onload if (typeof window.onload != 'function') { window.onload =
Leave a comment:
-
setting onBlur Programmatically
Hi all,
I have a web form that is generated on the fly. I need to insert some javascript into the form to do validation on the contents of each text box when the text box loses focus. here is what I have
[CODE=javascript]<SCRIPT language=JavaSc ript>
<!-- Begin
function filterNum(obj) {
re = /^$|!|$|<|>|"|'| %|,|&|%|;/g;
// remove spcial charcters
obj.value = obj.value.repla ce(re,... -
Calling client side javascript from a server function
Hi all,
I have a asp.net page that needs the following functionality:
User clicks a link that causes a postback, the server handles the postback, at the end of the server code I need to call a clientside javascript function with some parameters that were calculated on the server.
Is there a way I can call the client javascript function from the server?
thanks -
document.getElementById Problems
Hi all, I have a very simple HTML page that coontains a form and some various text and hidden fields. When the page loads I want to read in the query string and update some of the text fields with the query string values. Here is the code I have:
[code=html]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
<html xmlns="http://www.w3.org/1999/xhtml"...
No activity results to display
Show More
Leave a comment: