I got a JQuery UI button with an icon (locked) and I want it to switch to unlocked when I hover, I am pretty sure it's quite simple but after searching on Google I've found no doc/example about that. Here is my code
$("#frmClients button.btnConnexion").button({
icons: {
primary: 'ui-icon-locked'
...
I have two radio buttons say "yes" and "no" when i click "yes" the text box will be enabled.
But for some reason Radio buttons are hidden in this form and no is the default.
So i have a condition in php such as
so If the "Code" variable doesnot Exists in the "arr" then we show radio buttons and by clicking "yes"
we have the juery fu...
Does anyone have any experience positioning the jquery.datepicker found at http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/datePickerClickInput.html
Functionality-wise it works perfectly, doing exactly what I want it to. However, I'm using it for a search function, and need multiple fields in order to search for dates, and o...
I have a form configured to change the IP address on a network appliance and it is all working well. The problem I am having is how to handle something like an IP address change on the client side. I whipped up some jQuery to essential sit and wait to see if the new IP is reachable, if it is the browser forwards and if it isn't the brows...
Hey everyone,
I want to take the information typed into a text field and display it in a paragraph elsewhere on the page. Basically, exactly what is happening below as I'm type this (go to post a question and start typing in the main text box and you'll see what I mean).
Any idea how to do this? The page has so much javascript on it I ...
I would like to call my JsonResult after a pageload, not on a submit button. I have two BeginForm functions.
$("#loadTableForm").ready(function() {
//$.post($(this).attr("action"), $(this).serialize(), function(response) {
});
<%using (Html.BeginForm()) {%>
//data
<%using (Html.BeginForm("LoadTable", "Home", FormMethod.Pos...
Hi all,
I have a hardcoded li menu that is using filterable.js to filter a list of items, based on hash tags.
I can get focus to work if the item is selected, however, I want the all tag to be selected on page load. I added the class "current" to the "all" menu item, however this did not work.
see: http://thinquetanque.com/portfolio
...
Hello,
Wondering why I get this alert to work in Firefox and Safari but not Opera or IE... any insight much appreciated!
$().scroll(function() {
var scrolledpx = parseInt($().scrollTop());
if (scrolledpx < 375) {
alert('true');
}
});
...
So I currently have an application that is fairly complex with large-scale animations and lots of AJAX requests. When lots of stuff is happening at once, the performance tends to suffer (to approx 5-10 FPS when lots of stuff happens at once) on browsers that are not Chrome, and it gets worse when users are running on the paging file.
So...
Hello,
I have been trying to do the follow:
Form gets showed inside jQuery Dialog
When form gets submitted, jQuery dialog should close
I am trying the following code:
$('#RegisterDialog').dialog({
autoOpen: false,
closeOnEscape: false,
position: 'center',
modal: tru...
I have a question about $.post() in jQuery. the general syntax is :
jQuery.post( url, [ data ], [ success(data, textStatus, XMLHttpRequest) ], [ dataType ] );
I'd be grateful if someone could shed light on what exactly data,textStatus are along with an example if possible
Thanks!
...
I'm using jQuery 1.4.2 and jQuery UI 1.8.4, on the latest versions of IE and Firefox, under Windows XP. Firefox is fine with the following code:
var $container = jQuery('<div></div>');
jQuery('body').append($container);
$container.show('size', {to: {width: 640} }, 'slow');
$container.show('size', {to: {height: 500} }, 'slow', function()...
I have the following:
<form id="myform">
<input type="checkbox" name="check1" value="check1">
<input type="checkbox" name="check2" value="check2">
</form>
How do I use jquery to capture any check event occuring in myform and tell which checkbox was toggled (and know if it was toggled on or off)?
...
Hi all,
If I have html like this:
<li id="listItem">
This is some text
<span id="firstSpan">First span text</span>
<span id="secondSpan">Second span text</span>
</li>
I'm trying to use .text() to retrieve just the string "This is some text", but if I were to say $('#listItem').text(), I get "This is some textFirst span te...
How do you assign the data fetched via getJSON() to an array, for later use?
The getJSON url below retrieves properly formatted JSON with 10 main elements, each having subelements of id, username, haiku (and other). If you're running it, try saving the JSON elements to a local file, so you won't get the same domain error (i.e., JSON wil...
Hello,
This question is specific to jquery.pajinate.js. Basically it's a pagination plugin for jQuery that works great! I'm actually trying to add in some Unique URL functionality so that after jquery.pajinate() builds my pagination links, I can link to a specific page. This seems logical especially if someone wants to share a specif...
I've been working on this for a couple of hours and it should work but i'm missing something!
basically, i'm using jquery autocomplete with json source, with 2 values id and description.
Description should show up in suggestions and if item is selected and ID passed to a hidden field ( the field is not hidden currently for testing purpo...
Hey all,
(edit)
It is supposed to rotate the fade between 3 images every 5 seconds. But rather it just fades the same one over and over every 5 seconds, never going to the next image. Here's mote context because maybe the error wasn't caused by anything in the initial post:
$(".paging").show();
$(".p...
There must be something obvious that I'm doing wrong, but I'm not seeing it. I have obtained a reference to a DOM element using JQuery. It has the following innerHTML (from the javascript debugger):
<INPUT type=hidden name=Item.ItemIndicators[0].Indicator.Strategies[0].Description>
<INPUT style="DISPLAY: none" class=checkbox value=00...
List of items in a listbox populated using jquery.
I click the first item and it's selected.
I shift clicked the 3rd item and now items 1-3 are selected.
Shift clicking the 6th item only selects 3-6th instead of 1st-6th as you would expect.
Any idea how to fix something like this? :)
Turns out it WAS a logic error on my side. Took me ...