How can you make the SimpleTip plugin use each element's title attribute for the tooltip text when you're applying it to a group of elements?
$('td[title]').simpletip({
content : << this element's title attribute >>
});
...
I have developed a PopupMenu using a jQuery plugin.
When the HTML button is clicked the PopupMenu should appear.
Is it possible to do this instead when the page refreshes?
How would I do this in jQuery?
$(document).ready(function() {
$('area').bind("click",function(e){
//popupcode
});
});
...
I have a flash carousel with products. The products are being loaded from a xml file.
When you click on a product in the carousel a dialog modal needs to popup.
im using in the flash geturl function. But what should i put in here? got to be something like
javascript:openFunction()
but this doesnt work, anyone have some ideas?
and wha...
I need to select all elements, that has binded "click" event? Is there such selector exists?
...
I'm writing a script which manages a very large table. When a user clicks a table cell, I would like to know which cell they clicked.
e.g
--------------
| | |
| | Click|
--------------
should give me a cell reference of (1, 1).
Any way I could do this with javascript. The page it's running on uses jquery for other purpos...
Greetings
I am using the jquery disable on submit plug-in but I have a problem. If I disable the submit buttons they dont get passed back to the server so I cant tell which button was pressed. Is this normal? Is there anything I can do about it?
I really dont want to retool my website so I have to set a variable on form submission to t...
I am trying to tap into the HTML.ValidationMessage() element to write so really custom client side validation with jQuery. Is this even possible? My server side validation is displayed using the HTML.ValidationMessage(), and I am wondering how I would access that element to display a custom message using jQuery before a form submit.
I...
Hi, I am using the JQuery libs to implement drag and drop.
How do I get at the element that is being dragged when it is dropped into sortable list?
I want to get the id of the div being dragged. The following element is dragged:
<div class="control" id="control[1]" >
<img src="img/controls/textfield.png" />
</div>
I have the stand...
I have the following Javascript code, where feed is a valid url to an rss feed.
jQuery(function() {
jQuery.getFeed({
url:feed,
success: function(feed){
alert(feed);
}
});
});}
when i run this the alert never shows up. using firebug i can see the c...
Any idea how to get the DatePicker to appear at the end of the associated text box instead of directly below it? What tends to happen is that the text box is towards the bottom of the page and the DatePicker shifts up to account for it and totally covers the text box. If the user wants to type the date instead of pick it, they can't. I'd...
Hello,
When i select something from a selectbox it adds a class to the
selected option this way:
$('div#tabs input[type="text"], select option:selected, input:checked,
textarea').addClass('takethis');
But when i select a different option it doesn't remove the class
'takethis' from the option which I first selected.
How...
I want to log all clicks on a link.
I've written a little logger, which can be called by an url (returns an empty page). This url is called with a jquery-ajax-method. But unfortunately not every click is logged, if the user uses firefox (everything looks ok in IE).
I've tried many things but have no solution to this problem, have anybo...
Exact Duplicate:
Remove a class select option is not selected
Hello,
When i select something from a selectbox it adds a class to the
selected option this way:
$('div#tabs input[type="text"], select option:selected, input:checked,
textarea').addClass('takethis');
But when i select a different option it doesn't remov...
Houw would i do the same thing like this for radio buttons in jquery?
$("select option:not(:selected)").removeClass("takethis");
...
Is it a good idea to write your application javascript as jquery plugins?
PROS:
Promote reuse by creating a generic interface
CONS:
Not exactly an extension of jquery.
What are your thoughts?
...
Right now I have an app that allows a user to pick a ring from a drop down (select) box. There can be many to choose from and it creates a long drop down that isn't very nice to use. I would like to maybe use jQuery to make this a little nicer. Like maybe have a tab on the top where they can choose "white gold", "yellow gold", etc. to na...
Lets say I have a selectbox wit 10 predefined amounts and an option "other". If I select "other" i get an input box to give the amount. When I leave that field i wnat the value of the selecbox to be the amount typed in the input box. How would I do that with jquery?
...
When a browser window is resized, I understand there's a JQuery method to hook it up to a event handler.
I was wondering if there's one, if the window is resized from the DOM, is there a way to do this?
...
Probably a dumb question but I'm new to MVC and jQuery. I want to alternate the row colors of my tables and I've decided that I'm going to use jQuery to do it. I know that I could write an extension method (http://haacked.com/archive/2008/08/07/aspnetmvc_cycle.aspx), etc but after reading SH's comment on the article at http://haacked.com...
I've tried to google my requirement but without luck. What I have is a form that is broken into several tabs, all which works perfectly. However, now I've been asked to provide an 'All' tab with the whole form, in addition to the individual tabs for each section.
Seems like a fairly straightforward request, but I can't see how I can imp...