Re: problem in changing the actual event handler into our own
- From: "Ayush" <ayushmaan.j[aatt]gmail.com>
- Date: Tue, 31 Oct 2006 01:07:00 -0600
Try renaming that variable so that it starts from a character
--
Ayush [ Be ''?'' Happy ]
For any query, search - www.Google.com
Want to know about a term - http://en.wikipedia.org
Snip your long urls - http://snipurl.com/
Replied To :
-------------------------------------------------------------
<ashok.dhananjeyan@xxxxxxxxx> wrote in message
news:1162274266.441721.174390@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
| Hi
|
| I have a problem in changing the actual event handler into our own
| event.
|
|
| i.e
|
|
| var f = document.forms("formname")
| if(!f) continue;
| _subH = f.submit
| alert("Submit handler" + _subH) ;
|
|
| f.submit = SampleSubmit
|
|
| function SampleSubmit()
| {
| .
| .
| .
| .
|
|
| .
|
|
| f.submit = _subH
| f.submit();
|
|
|
| }
|
|
| Actually in this code i am trying to assign the actual submit handler
| into variable _subH. but at very first time the handler cannot be
| captured into that variable _subH(error says "access denied:
| -2147024891). once the HTML page is refreshed ,the handler can be
| retrieved.
|
| This error is occurred only when we are using other than the submit
| button like "button,anchor tag", to submit the page.
|
|
| Thanks in advance.
|
.
- References:
- problem in changing the actual event handler into our own
- From: ashok . dhananjeyan
- problem in changing the actual event handler into our own
- Prev by Date: Re: Why do people ignore the Start Menu?
- Next by Date: Re: I can't access a download link in a website
- Previous by thread: problem in changing the actual event handler into our own
- Next by thread: Re: I can't access a download link in a website
- Index(es):