Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
my javascript runs fine in firefox but has errors in IE
Old 09-28-2009, 02:01 PM my javascript runs fine in firefox but has errors in IE
Junior Talker

Posts: 1
Name: suhrit rimal
Trades: 0
Guys i need help my javascript is running fine in firefox but not in IE.

<script language="Javascript">
function enter() {
var r=confirm("Are you sure you want to delete");
if(r==true){
document.eventform.delete.name="delete";
document.eventform.submit();
}
}
function redirect(){
return confirm("Are you sure you want to delete.");
}

</script>


if u can provide me with any help it would be wonderful.
srimal is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-29-2009, 09:52 PM Re: my javascript runs fine in firefox but has errors in IE
logic ali's Avatar
Super Talker

Posts: 104
Trades: 0
Quote:
Originally Posted by srimal View Post
Code:
         document.eventform.delete.name="delete";
It looks like you're trying to rename an element, which I.E. doesn't like doing and should not be necessary.
Also it's probably wise not to use 'delete' as an element name since it's a reserved word.
logic ali is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to my javascript runs fine in firefox but has errors in IE
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.14863 seconds with 12 queries