I have an update function and many input fields with a Quantity, I use the update function "onkeyup" for each input field/box. I want to get the value of the field that has been changed. How could I get the value of the field that was changed, key was up on.
I have a textbox with add button, says A. If i click A, a new textbox will be appended.The appended textbox, B will have an ADD button, in order to add new textbox again.The problem I face is I am not sure where or how to include the jquery function of ADD button for Textbox B.My script:
I have a menu system that is structured in <ul>/<li> fashion. Code below. How do I attach JS functions to any single item? My functions will be going out and grabbing the static xml and applying some filtering/selections on it, then passing the result to a datagrid. Writing the function is not hard (standard JS), but how do I attach it to a <li> type of menu item?? Each high-level menu item (such as Small Arms, Bombs) will be performing selections on completely separate xml
I have a setup where when the user changes the item on the dropdown, the price is updated by ajax.I want the price to pulsate with jquery ui after the price is updated.How can I do this? Here's my javascript:
Code: <script type="text/javascript"> function getxmlHttpObj() {[code]....
the first function(start: function ..) displays an attribute (title) of the dragged item once the sorting starts. supposedly, the second function (stop: function ..) would display the same attribute but of the item replaced by the dragged item once the sorting stops.
I have tried a lot of things already, but none seems to work.
I have some js code in which a click on a nav arrow causes list to be walked up or down and hilighted. Partial code is below. The problem is that when I get to the end of the list (e.g. there IS no next()), I want to skip this part of the code and actually hide the right arrow. I have no problem with the hiding part - I just want to set a flag when I have traversed the list to the last item.
I have this code which removes a class from an item on mouse out.
Code:
function mouseOut8( ) { $('.bar8') .removeClass("barover"); }
I would like to change this so that the class is removed from the item I have just moused out of instead of specifying the exact item. This is so I can use this function for multiple items. I tried replacing the '.bar8' with 'this' but it didn't work.
write function that bolds each item was clicked...e.g. i clicked on "Cases" tag and it's bold....than i clicked on "Graphics" tab... it bolds too ,but "Cases" tag should be normal fontWeight.
I need to write a javascript function (which will be called on clicking a button) to return the currently selected item from a drop- down list whose rendered html is below.
i have a Drop down list with 10 choices (skillset). users must choose one skillset and the corresponding level (beginer/intermediate/master). ( they have to do this 10 times for all the sillsets) what i want is :
1 - i need to show up only one record (dropdowanlist) with level then have a button to add new skill and level if required 2- then when they choose the 1st skill from the dropdown , this one will not show up on the 2nd choice dropdown.
I have something like this: var images = $('#container img'); // my new array images.get(images.length - 2).addClass('show'); error is like this: Error: $("#container img").get(images.length - 2).addClass is not a function
Is it possible to target certain <li> in an unordered list by index with jQuery? I thought maybe I could use .index but was not able to get the syntax right. I thought maybe something like this would work but is has not:
i am using [URL] when i have reached the last item, where the next button shld have been disabled, its still enabled leading to an extra space when next is clicked. [URL]
I have a link on a page which I would like to work as follows:
- When I click it a Modal window will show up. Inside this modal there would be a table returned by "data/images" When I click an item in the table the Modal would close. I need to get the value in the first column of the clicked row. How can I do this? I have no idea where to start.
I have created a little script that is supposed to add another item to a radio group and set the new item as selected if none of the other items is selected. It works on initial load of page, but if I press refresh, the checked value of the radio group shifts one place to the right on each reload.[code]The code has some special names and labels.. Thats just because it comes from some generated code from another application.
I have 2 sortable lists, #pieces and #grid. I want to drag items from #pieces and add them to #grid without removing them from #pieces. That way I could add any number of any item in #pieces to #grid. The current code i have is:
I have an image gallery where every image has an index number ("data-index"). How do I access that index number when the image is "current" and then add +1 when it's "next" or subtract -1 when it's "previous"? Below is part of my code.