Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~357 People Reached
Favorite Forums
Favorite Tags
Member Avatar for CathInfo

I have a web application (Javascript) that captures keyboard input. The code works independently -- in fact, I've tried several different variations/code snippets that other people have used/recommended. They all work, and are functionally equivalent. But here's the clincher -- [B]my whole program works fine -- keyboard and all -- …

0
56
Member Avatar for CathInfo

I can't seem to capture keystrokes (via onkeydown) in Firefox. Now before you judge too quickly, here is a snippet that DOES work in Firefox -- but only by itself; not when pasted into my program: ------------------------------------------------------------------------ [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <script language=javascript> <!-- function vProcessKeyboard(e) …

Member Avatar for CathInfo
0
136
Member Avatar for CathInfo

[CODE]var s = document.getElementById('field[12]'); var cust_cc_exp_month = s.options[s.selectedIndex].value; // This displays the correct Value -- which is "0" for item #0 = "Please select..." alert("Month: " + cust_cc_exp_month.toString()); if (cust_cc_exp_month == "0") { // This code never executes! } Here is the HTML portion: <select id="field[12]" name="field[12]"> <option value="0">MONTH</option> <option …

Member Avatar for digital-ether
0
88
Member Avatar for CathInfo

Please, anyone, tell me how can this be: [CODE] var cust_state = document.forms.info.dropdown_a.value; // Displays "TX" or whatever state was selected. I tried removing this line; it doesn't help. alert("State: " + cust_state); if (cust_state == "XX") { eval('document.forms.info.dropdown_a.style.backgroundColor = "#FFCCCC";'); eval('document.forms.info.dropdown_a.focus();'); alert("Please select a State from the drop-down box."); …

Member Avatar for MidiMagic
0
77