Search the Community
Showing results for tags 'input field'.
-
Hi all, I'm newbie here. I would like to create a number input field for logged in user to update their daily number of chanting. There will be a number input field, update button, total number of chanting (updated number will sum total automatically) and last is total number of chanting for all users. I was no idea to get the solution on the function, so I was here to ask for proS to help me on this
- 2 replies
-
- input value
- input field
-
(and 1 more)
Tagged with:
-
Hi all, I'm new to JavaScript and I'm really stuck on something for a project that is probably easy to resolve but I can't seem to figure out after many trial and errors! I'm trying to get ALL of the onfocus events to work for each input field. For example, I want to create a div for the instructional message to appear whenever you click on the text field. It'll be much appreciated if anyone can help! I'm using this code but it only works for the first text field I click on and not the rest of the other text fields: function init(){ document.querySelector("#fEmail").onfocus = Einstructions;
-
Hi, I got a form which I use to take payments via PayPal. All is setup but one form field. To write the "item_name" for PayPal i use this piece of code: document.getElementById('item').value = "Week: " + week + ", Load: " + loading + ", Add. Hours: " + chours + ", Dest: " + postcode Selection fields are: week, loading and chours postcode is an input field, type text I want to get the postcode entered by the user into the item field and use it as the item_name for PayPal. I tried pcode = document.getElementById('postcode') postcode =pcode.value postcode = document.FormName.ElementName.val
- 15 replies
-
- form
- user input
-
(and 3 more)
Tagged with: