The developer tools show no error message. Works fine on Chrome, Firefox and Safari.
$("#datepicker").datepicker();
console.log($("#datepicker").datepicker("isDisabled")); // prints false
$("#datepicker").datepicker("setDate", new Date());
console.log("here"); // doesn't print at all
Thank you for any ideas.
...
I have a select which allows the user to select multiple option. Also on the same page is a form that will allow the user to add new keywords which will appear in the select.
My javascript sends an ajax request to a php script which either returns a success or error message which then gets added to the dom.
The ajax part of the script ...
hello,
I have a website in development. After login the user is taken to a page w jq tabs.
The member page has pagination - there can be more than one page for the member to look at.
To deal w the brain-ache of pagination I dumped some of the code for the member page into a function w the tabs jQuery.
In Firefox, this all works.
In C...
Is it possible to link from a jQuery slide images on my index page, to a different slides on say my design page, and have them links go to a specific slide on my design page. Example, if I link from slide 5 on my index page, it would then link up to slide 5 on my design page.
I have tried to find some examples on this from other websit...
I have a grid and when i change its sorting order i a loading message appear on grid region and block its content like other modal popup but only on grid region
is there any available jquery modal popup meet my needs ? can I configure jqueryUI modal to do this ?
...
In my post.php I use $.ajax function to load some html data from other file lets call it form.html. My question is is it possible form.html to access post.php POST/GET data when is added to the DOM of post.php ?
...
I am having issue with IE when i dynamically inject image tag into Nivo Slider. I forced the images to show up by styling the width to a fixed px, but the images seems to overflow-x. It only happens in IE! Help please.
...
Hello guys,
Is there a method in jquery to select an element located at a particular position
for example select the element that is located at left:100 and top:300 ? in absolute position
It would be nice if I could select and element located in a range of positions,
for example select the element that is located left: 100 - 150 px ...
how would i get a image width using only the image link in jquery?
can someone lead me down the right path please
Thank You,
...
Hey all,
Its time for another very simple question that I can't find an elegant solution for. Basically, I have an app that is using a jQuery Ajax call. In this call, you have to specify a URL path for the service that you are calling. In this instance, I am needing to call this JavaScript function from multiple files in my applicati...
So as the name suggest I have a treeview in an mvc view that persists by its location but sometimes you travel off the route of the tree, for example:
Main page
----Child Page
Say i went to an edit page for the details on the child page, I would still technically be in the child page node but the url for the page is different.
If I ...
Hi all,
I found out that this is the way to style all images on a site.
GM_addStyle("img { border: 3px dotted green;background-color: red; }");
How do I style just a few?
Is there a way to add a class to the GM_addStyle so that I can call this class later with jQuery like .addClass('myClass')?
Thank you in advance for your help and t...
Hi,
I am using the jQuery Drop Down Check List component:
http://github.com/scottwb/jquery.ui.dropdownchecklist
However, it doesn't seem that there is support to add a tooltip to such a drop down. Usually, you just add the 'title' tag for every option and a tooltip is automatically shown. However, this is not the case with this compon...
How do you refresh the beauty tips plugin? I'm trying to change beauty tips applied to an element when on a click event. I would be happy either
disabling the beauty tip for that element when it is clicked or
changing the content of the beauty tip when it is clicked.
It seems like I can change the "options" array no problem, but it...
I have a jQuery function (stripped down just for this example):
(function($) {
$.fn.Lightbox = function(options) {
var opts = $.extend(defaults, options);
function initialize() {
$('#lightbox').show();
return false;
};
function close() {
$('#lightbox').hide();
...
Hello guys,
I am creating a simple application using jquery, in this application I can drag an element(DIV) along the document. I can place the DIV at any position in the document, If I place this DIV above another element how can I find out what is the ID of the element that is below the dragging object,
for example if I place the dra...
Hi to all,
i would like get the offsets of a div,but when i try to access to that div says me [Object object]... or undefined or 0.0;because i think that my method is wrong :-(
This is the code of the page:
http://pastebin.org/208836
And i have already tried with this code:
var p = $(".product_72ivnj");
var offset = p.offset();
var ...
At the moment I am using jQuery UI's slider to allow people to select a donation amount. The problem is, the slider is to small and needs to compensate for the minimum of $1 and the maximum of $10,000. The proposed solution is to use a small increment, maybe $1 or $2, for values between $1 - $1000, and then from there, raising the increm...
Hello, I am not sure if this question is really specific for SO but I still would like to ask.
Has anyone noticed that jquery animations became less smooth on Chrome, if you just find a jquery plugin it seems very nice but usually on demo pages there is a little amount of tags and another javascript funcions. I am currently working on a...
From the documentation I've found this example:
We can animate any element, such as a simple image:
<div id="clickme">
Click here
</div>
<img id="book" src="book.png" alt="" width="100" height="123" />
With the element initially shown, we can hide it slowly:
$('#clickme').click(function() {
$('#book').fadeOut('slow', func...