User Profile

Collapse

Profile Sidebar

Collapse
ThePope78705
ThePope78705
Last Activity: May 7 '08, 10:40 PM
Joined: Sep 20 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ThePope78705
    replied to setting onBlur Programmatically
    unfortunately not, I also tried children[i].onblur = new function(node)

    that also did not work. :(
    See more | Go to post

    Leave a comment:


  • ThePope78705
    replied to setting onBlur Programmatically
    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"
    ...
    See more | Go to post

    Leave a comment:


  • ThePope78705
    replied to setting onBlur Programmatically
    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 =
    ...
    See more | Go to post

    Leave a comment:


  • ThePope78705
    started a topic setting onBlur Programmatically

    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,...
    See more | Go to post
    Last edited by gits; Apr 9 '08, 04:25 PM. Reason: added code tags

  • 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
    See more | Go to post

  • ThePope78705
    started a topic document.getElementById Problems

    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"...
    See more | Go to post
    Last edited by pbmods; Sep 20 '07, 11:11 PM. Reason: Added CODE tags.
No activity results to display
Show More
Working...