the script below is writing the value of a function to the parent window, how do i write it to a text area Line 3: This is writing the value to a blank area in the parent, but i want to write to the textbox ?
I have a list of products where they have minimum quantities in a hidden input. Some products have multiple colours, though the same minimum quantity and I'm trying to implement a jQuery check that entries made are at least equal to the minimum.
Blank or '0' entries are fine but if it's below the minimum quantity it should set to the minimum.
Is there something obviously wrong with this? It isn't performing the minimum check and I'm really not sure why.
i need some help with an assignment. the program needs to display a list of flights from options selected from drop down menus. i have written the code to display all flights, now i need to write the code to include the options such as destination and airline. here is the whole of the code.
I have 4 text boxes that are supposed to load 4 seperate values of data from one field in one table from a database. The field is called interface_cropsettings (from the interface table) and these values have been concatenated and comma seperated in this field.
Once the form is filled out and saved, the data is inserted into the database and the values from these 4 text boxes are concatenated, comma seperated and inserted into that one field correctly.
If the 4 text boxes have the following values:
In the database field they become:
However, if the form is closed and then re-opened, each text box displays the entire database field rather then each value seperated in the corresponding text box.
All 4 text boxes display this:
Also, this is kind of irrelevant but just in case you're wondering, this form is part of a cold fusion application!
I have a simple, three-field form that I am setting default values from within my jquery script. When a user clicks on a field the default values are removed, leaving that field blank for the user to type into.
The form accepts the default values from my jQuery script just fine. And when I click on the "to" and "from" fields, the default text is, in fact, removed. The problem is when I click on the textarea, the default value does not get removed.
Here is my html: <form class="blogForm" name="blogForm"> <Input class="blogFormTo" type="text" name="email" /> <Input class="blogFormFrom" type="text" name="email" /> <textarea class="blogFormNote">
I guess the title says it all. I've generated two checkboxes and two textareas via an ajax requst. When I later on call anoter function I want to get the valus from the textareas and to know if weather the checkboxes are checked or not. But that seem impossible to be as you seem not to be able to select an element generated after the page load, or am I wrong ?
is it possible to use keypad URL...for multiple input and textarea? What I want is to position a keypad in a corner of the site, and whenever a key is pressed I want to insert the key to the field which had focus.
I have a problem to solve where I have a Hidden set of 40 text inputs. A link to show 10 more of these in inputs at a time, all having unique ID's. The goal I am trying to accomplish is to set the focus to say the 10th input. If the "show more inputs" link is clicked then the focus should go to the next 10th input (really input ID number 20) and so on.
Having a small problem with writing out the matches from an array using a For loop.
I have two arrays, lets say arrayA and arrayB. In arrayB are numbers which are a number of miles, ie 1,2,6,4,5,6,6. And in arrayA are the days of the week. Each day of the week is associated with a mileage, ie Mon = 1, Tues = 2 etc.
My script has found the largest mileage in arrayB. Next I have to find the days of the week that match this highest mileage and write these out, along the lines of "The highest mileage was 6 run on Wed, Sat, Sun."
I have managed to get a For loop to work with this BUT..... I can only get it to write out the first instance of the day the match is found. ie "The highest mileage was 6 run on Wed,"