jquery

Jquery help with mouse events, events not unbinding...

Any ideas why this doesn't work, or how to make it work? I want to remove the "onmouseover" and "onmouseout" events so they are basically disabled and at the same time change the background color. Then when the user clicks on another element I want to reassign the mouse events back to the element. Right now the onmouse events don't ge...

jquery load php file - result is not complete

I'm trying to load or better reload a DIV with content from an included php file. so the file is included in the webadmin.php from the location webadmin/pages.php. Then i alter some data in the DB through serializing. Now I would like to reload the pages.php from the callback of the serialize POST with load();. This all works fine up u...

CSS parser/abstracter? How to convert stylesheet into object

Is there a standard or reliable method already out there for a javascript framework such as jquery to parse a stylesheet into an object? Two reasons for why I'm wondering: I have seen a couple of questions where someone wanted to know how to get the style attribute that was set by the stylesheet for a selector, not what the selector e...

ASP.NET ScriptManager CompositeScript doesn't work with javascript that requires querystring param

I have a jQuery function in a .js file, and the function requires a querystring parameter to be passed. If I try to use the CompositeScript feature in the ScriptManager, it pukes on the file that has the querystring. Is there any way around this? ...

Animating elements of text-shadow with jQuery

I was wondering if there was any way to, using jQuery, animate properties of text-shadow like size or colour. It's annoying that there aren't individual properties like text-shadow-color instead of the statement only being available in combined form. ...

How to call the following function in JQuery

jQuery.fn.daterangepicker = function(settings){ var rangeInput = jQuery(this); //defaults var options = jQuery.extend({ ........ //function to format a date string function fDate(date){ if(!date.getDate()){return '';} var day = date.getDate(); It is being used as follow syntax $('input'...

Execution sequence of DOM events registered using jQuery

I am using a checked selection list in my application. It has an "All" option which, of course, selects all the available options in that list. For that, I have attached click event to the All checkbox. Now, based on the selection, I have to make appropriate changes in UI as soon as the selection criteria is changed. I have implemented ...

What's this jQuery code snippet doing?

allFields = $([]).add(name).add(email).add(password) $([]) ?? ...

FancyBox iframe returns parent.$ as undefined (using WordPress)

I'm trying to close FancyBox from within the iframe, but parent.$ is always undefined. This is my iframe JavaScript: <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js'&gt; </script> <script type="text/javascript"> jQuery(document).ready(function($){ (function($) { $....

How to create a full brower background image slider with Jquery and CSS?

I was wondering if there's a way to combine this cool full browser background image script with a slider, to create a slideshow that would slide the background while preserving aspect ratio. The full browser background can be achieved with this code and there are some slideshows that can fade the background. Is there a way to take it to ...

jQuery toggleClass and check checkbox

I can't seem to get this to work. If I remove the checkbox portion of the script the toggle class works but if I add it, then it no longer toggle's the class. I'm a total amateur at this so I would greatly appreciate any help. I'm using jQuery version 1.4.1. Thanks. $("li.imprint").click(function() { $(this,"li.imprint").toggleClass('...

DOJO very slow with IE6

Hi There, I am using Dojo JS libraries in my project. The application runs on IE 6/7/8 and FireFox. The application is working with a normal response time in IE7 and above and Firefox. My Problem is *When i run the application in IE6 , the page gets loaded very slow (takes upto 2 minutes). I get errors like this :- could not load ...

jquery tipsy plugin

Tipsy jquery plugin is installed in my app This is in my load function $(function() { tipsy(); }); Below code is in a js file var htm = '<div id="new_div" onmouseover="tipsy(this);">' ; function tipsy(tip) { if ( '' != sumtitle ) { tip.title = tip.innerHTML; } else if(tip) { tip.title = t...

jQuery Ajax (beforeSend and complete) working properly on FireFox but not on IE8 and Chrome

I am using jQuery ajax version 1.4.1 in my MVC application (though the issue I am discussing was same with the old jQuery version 3.2.1) as well, to check during customer registration if the username is already registered. As the user clicks on the "Check Availibility" button, I am showing a busy image in place of the check button (actua...

jQuery: problem with dialog height under IE

hi all, i'm experiencing problems with the jQuery dialog under IE8: i'm first initializing the dialog, then change its height through the options: div.dialog("option",{"height":y}); under firefox, anything is nice, but under IE the box is missing some height (about 50px), so i'm getting ugly vertical scrollbars. any ideas what cou...

how do i avoid including jquery twice?

i have a service i'm building, which will be included as JS on client web pages. optimally, i want to build the service using jquery. the case may arise, where the page already has JQ included. how do i avoid including JQ twice in the page? how do i make sure i still have the desired JQ functionality, even if the page has already inclu...

Telerik - Rad Combob Box - Jquery - OnSelectedIndexChange

hi my dear friends how can i fire telerik rad combo box selectedindexchange event With Jquery... My Pages Base on Master And Content Pages And In Content Pages I have multiviews And inside Multiviews I have RadComboBoxes i had some problem about getting controls in content pages (inside multiviews)... best regards ...

Detect anchor is leading to an active window.location

Having such an html: <a class="someclass" href="some/url/absolute/or/relative">Blah</a> ... along with such javascript: $("a.someclass").onclick(function() { var link = $(this).attr("href"); if (link == window.location) // <<<<<<<<<<<< doSomethingSpecial(); else doOtherThing(); return false; }); this...

aps.net - web app - c# - jquery - How Can We Call A method inside code behind using jquery

hi my dear friends My Pages Base on Master And Content Pages And In Content Pages I have multiviews And inside Multiviews I have RadComboBoxes. two of my radcomboboxes are parent and child like country and city dropdowns... therefore in codebehind i put some codes in the OnSelectedIndexChange event of Parent RadComboBox for filling it'...

Jquery to display success message in asp.net webforms...

I have started using jquery in one of my new asp.net webform application... I want to display a success message after an insert on a button click event... Here is my link button.. <asp:LinkButton ID="LbOk" runat="server" CssClass="regular" onclick="LbOk_Click" OnClientClick="return validateEmployee();" > </asp:LinkButton> And my On...