•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 423,622 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,260 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 4388 | Replies: 4 | Solved
<h3>Administrator Login Here:</h3>
<p>ENTER USER NAME :
<input type="text" name="text2">
</p>
<p> ENTER PASSWORD :
<input type="password" name="text1">
<input type="submit" value="Check In" name="Submit" onclick=javascript:validate(text2.value,"admin",text1.value,"admin") >
</p>
</form>
<script language = "javascript">
function validate(text1,text2,text3,text4)
{
if (text1==text2 && text3==text4)
load('http://localhost:8080/vote-0.3/admin/');
else
{
alert("You should'nt be there");
}
}
function load(url)
{
location.href=url;
}
</script>this code is working fine in IE but not in mozilla-firefox. when I click the submit button nothing happens in firefox.....what can be done?....thanks
Last edited by apontutul : Aug 23rd, 2007 at 2:22 am.
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
access activation ajax api asp blogger blogging blogs bon browser code dani daniweb data development dreamweaver dropdownlist email encryption firefox gdata google html internet key linux microsoft module mozilla msdn net news open-source product programming reuse rss security serial software sql super tags testing vista web webmail wysiwyg xml
- javascript function not working in firefox (JavaScript / DHTML / AJAX)
- "i want used confirm in javascript in code behind" (ASP.NET)
- AJAX not working on firefox (JavaScript / DHTML / AJAX)
- javascript works in IE but not working in firefox (JavaScript / DHTML / AJAX)
- Javascript and Firefox ISSUES (JavaScript / DHTML / AJAX)
- javascript code not working in mozillafirefox (JavaScript / DHTML / AJAX)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Javascript code to disable swf dotted-frame in webpage
- Next Thread: javascript+iframe



Threaded Mode