Hi,
I am using master page where i need to move value of one lisbox to the other with the help of Jquey i tried many ways but wasn't able to hit the nail. the methods i tried are as follows.
$("[id$='ModuleMasterListBox option:[@selected]']").appendTo($("[id$='ModuleSelectListBox']"));
$("[id$='ModuleMasterListBox option:@selected]'")...
Hi guys,
I'm trying to add a simple fade in/out effect to the buttons by jQuery but I'm a bit stuck with fading out. I use this code:
$('#header #menu li a').hover(function () {
$(this).fadeOut(0).addClass('hover').fadeIn(300);
},
function () {
$(this).fadeOut(0).removeClass('hover').fadeIn(0);
});
It adds a hover class which defi...
When you listen for the touch events (touchstart, touchmove, touchcancel, touchend) on a touch device like the iPad, and in your touchstart eventhandler you are invoking preventDefault(), is it possible to add or remove classes in order to change the visible appearance of the touched element? When I try to add a class at that juncture, ...
I need to theme some tables, and I want to accomplish this using jQueryUI.
Where can I find some examples, resources, links and demos of this?
...
Hi,
How do I handle selection of multiple items with autocomplete? The objects I return from my JSON web service contain an ID and a Label - the ID is the ID of the entity in the database, and the Label is some text to display for the user.
At the moment, when I select an item in the autocomplete dropdown, the value of the item's ID is...
hello guys
here is my web page : please check
I have placed two links in the page, clicking on the first link alerts the text in each div and its element position (index). clicking on the second link change the position of the last div to the position of the second div and vice versa. now the last div on the second position but its ind...
I have the following list:
<div id="test">test</div>
<ul>
<li>foo</li>
<li>bar</li>
<li>sta</li>
<li>cko</li>
</ul>
and the following jQuery code:
$(document).ready(function() {
$('li').each(function(index) {
$('#test').text($(this).text());
$('#test').show("drop", { direction: "down" }, 500, func...
Hey Guys,
i have a big problem with my jQuery Datepicker Script.
I use jQuery 1.4.2 and jQuery Ui 1.8.
Background:
I have a reservation calendar with a fromDate and toDate and all Dates which are already reserved are disabled. The Dates come from Database by AJAX Call.
Problem:
Everything works fine in Firefox - but IE 7/8 does not di...
Hello. I have a little problem.
I have situations where my ajax calss returns a string.
sometimes that string is "false"
i want to always convert that string value into a boolean
i tried : new Boolean(thatValue)
but it returns true even for "false" as a paremter
is there anyway to solve this? except me writing my own custom function ...
I still get a little confused when it comes to selectors and patterns... Basically, I'm trying to find the parent div of an input item and if a string is found anywhere in its ID, I want to set it to display none.
I've done this before by just doing something like:
if($('div[id*=string]')) { $(this).attr('display','none'); }
But,...
Yeah, this is indeed my third or fourth question about jQuery UI Autocomplete. My latest annoyance is that clicking the 'submit' button in a form does not seem to count as a 'change' for jQuery. When my input box changes, jQuery runs some javascript to force a match against a list of acceptable inputs and their values:
jQuery("#Resource...
I found something interesting in jQuery, and I wanted to run it by some folks who understand it better than me to see if there is a solution for it. So I want to post back the scroll position of the page when submitting all forms on my page. I can do this by doing the following:
$('form').submit(function() {
$(this).append('<input...
Hi,
here's my call to the validate function. Everything works fine with this code.
$('#createForm').validate(function () {
});
But when I try to modify it a bit, the whole validation stop working:
$('#createForm').validate(function () {
errorPlacement: function(error, element) {
error.insertAfter(eleme...
I'm required to develop a slideshow (not an existing one) with jQuery. I was able to change picture with a function that I created named changePic (takes an image link). It incorporates the fading animation from the jQuery library.
For the slideshow I'm trying to use a while loop. It kind of works, except that it doesn't wait for the a...
http://vincent-massaro.com/map/
Here is an example I am working on of a horizontal accordion linked with a Google map. The problem I am having is when you click on a slice on the right side, and then click another slice while the previous one is open, the first slice bounces in place. Any way to remove the bouncing going on? Thanks!
...
I would like to use jquery to populate fields with default values. For example, say I have a field for email address and I want to add [email protected] in grey italic text in the box and the remove it once the user clicks on the field. Is there any good way to do this with a plugin or something? I would really like to avoid toggling an ...
That's what sould happen:
I click on one of the menue items, the text container should slide down when i klick on an other the already opened container slide up and the clickt container slide down.
but how i tried "siblings" but that doesnt worked the way i want it to.
and that's how far i already am
<style>
.read_more, .read_i...
Dear All,
I am wondering how to make the matched part of the autocomplete suggestions bold when using jquery ui autocomplete?
So for example if you type in "ja" and the suggestions are javascript and java (like in the example on the jquery ui demo page) then I would like to make "ja" bold in both suggestions.
Anyone knows how to do ...
I have a drop down list (<select> tag) filled with bikes (more specifically their names). When a user selects a bike in the list I want them to be redirected to the details page for the selected bike.
I have a route for bike details as such:
routes.MapRoute("BikeDetails",
"bike/{bikeId}",
new {
...
Hi guys,
Looking for a script that I can ideally enter a starting number and a start date, which then continues to increment based on a rate I set e.g. 1 per second. The script would ideally calculate what number it should be on based on the difference between the current time and start time.
It's meant to look like it's showing a live...