jquery

Datatables - enable js filtering using server-side processing

Hi,all. I'm using jquery datatables library with server-side processing enabled. Is there any options (or just a certain place in code - to write smth like a 'hack') to enable default js filtering instead of sending ajax queries to server? Tried to find it, but no luck -> it seems that library hardly enables server-side searching(filter...

Using jQuery within a Opera user javascript

I wonder if its possible to load jQuery within a opera user javascript, so that i can use jQuery functionality in the opera user javascript even on pages that is not currently using jQuery. ...

world countres list with cities

is there any solution to show user all countries and after select country it reselect all cities of its country? be best with script selecting p.s. russian name of countries ...

YUI and/or jQuery for a new project?

If I am starting a new project how should I pick between using YUI 2, YUI 3 and jQuery? I know there are a bunch of questions/answers already about can you use them together, but I am trying to figure out what criteria I should be thinking about to make my decision. Are they overlapping? Is one better at GUI and the other better at in...

is there a jquery plugin to show sign-up/registration progress?

I'm looking for a quick and easy way of showing users position in the sign up page, in a nice way. you see these things for stuff like basket->checkout->confirm details->payment, often they look a bit like a public transport map o----o----o----o if that makes sense?! Any plugins to do this without me opening photoshop? ...

Frames with JavaScript

How can I manipulate using JavaScript (JQuery) a site, not in my server, that I loaded in a frame? ...

What are the javascript performance tradeoffs in adding id's to dom elements?

For example, I have a website which has a dynamically-generated segment of its dom which looks roughly like this: <div id="master"> <div class="child"> ... </div> <div class="child"> ... </div> <div class="child"> ... </div> ... <div class="child"> ... </div> </div> There might be hundreds of child elements in this manner, a...

Doing a POST to a Service Operation in ADO.NET data services

Is it possible to POST to a service operation defined in an ADO.NET data service (it is decorated with WebInvoke)? I had no problem calling the service operation as an HTTP GET. However, when I switched to doing a POST, the stack trace consistently comes back with "Parameter cannot be NULL". I am using the jQuery syntax below, and send...

Javascript Intellisense not working on Visual Studio 2010 Ultimate (Windows 7 x64)

Hi guys, I've just got the new Visual Studio 2010 Ultimate and Javascript Intellisense is not working on .aspx/.ascx files inside blocks. It does work on external .js files. After VS2010 setup, it asked me if I wanted to import the settings from previous VS version (I have VS2008 SP1 installed), I say yes. I've tried resetting the se...

Building a jquery plugin with dynamic loading of feature extensions

Dynamic Plugin Extensions I'm looking for techniques to allow a jquery plugin or jquery-based javascript library to automatically and dynamically add extensions to itself based on the current environment it finds itself within. Basically, I want to be able to reuse certain useful functions from other plugins if other plugins are loaded ...

Wrap all created li-elments after click

$('input[name="iplus"]').click(function() { $("#billsumary").append("<li>Test</li>"); }); Hi, i append a li-elemnt on every click. Now I like to wrap all those created li-elements into an ol-element but not each created one but all of them together. sample html output: <div id='billsumary'> <ol> <li>Test</li> <li>Test</l...

Remove innerHTML from div

I'm trying to clear the div's innerHTML before repopulating it. I tried removeData() but once that's called, when I try to add the data, I get nothing from the next line after remove whereas if I remove the removeData() it's fine again. I just want to clear out any previous content in that div before I re-populate it. divToUpdate....

Explode in jquery with php.

Hi! I've got a jquery script, which creates a h3 tag and print a variable called result.tbUrl to it. I'd like to explode the variable at "::" and use the 2nd piece. This is my method. var link = document.createElement('h3'); link.innerHTML = <?php $link = "result.tbUrl"; $linkpiece = explode("::", $link); echo $pieces[1]; ?>; Could ...

Would Apache running on port 8080 prevent dynamically loaded scripts in JavaScript?

Had a nice PHP/HTML/JS prototype working on my personal Linode, then tried to throw it into a work machine. The page adds a script tag dynamically with some JavaScript. It's a bunch of Google charts that update based on different timeslices. That code looks something like this: // jQuery $.post to send the beginning and end timestamps ...

Showing a loading spinner only if the data has not been cached.

Hi guys, Currently, my code shows a loading spinner gif, returns the data and caches it. However, once the data has been cached, there is a flicker of the loading gif for a split second before the data gets loaded in. It's distracting and I'd like to get rid of it. I think I'm using the wrong method in the beforeSend function here: $.a...

Problem using equal height columns & jQuery Accordian

I'm using this plugin http://www.cssnewbie.com/equalheights-jquery-plugin/ to give me equal column heights so that I can stick a div to the bottom of a righthand side sidebar. It's working fine, however in some of my pages I am using a jQuery accordian slider which means there is quite alot of info contained in the accordian even though...

jQuery - Loading content into div, styles not applied?

Hi! I'm trying to get this content loader to work and I've managed to get it to get new content, once the content is loaded it isn't styled correctly. Also the character "é" becomes a questionmark. Doctype problem? As well as the h2 tag normally having Cufon applied to it is not triggering. So basically, this content loader require me...

jQuery hide all table rows which contain a hidden field matching a value

Though I don't doubt this has been answered I cannot find a great match for my question. I have a table for which I'd like to filter rows based on whether or not they contain a hidden field matching a value. I understand that the technique tends to be "show all rows", "filter the set", "show/hide that filtered set" I have the followin...

How to submit an iframe form and close jquery lights out in a single mouseclick

The web app i'm creating uses jquery lights out and has an html iframe to an internal form. Whoever uses this app will have to press the submit button. Is there a way i can link a free area of space surrounding the submit button, so any clicks within that space call the jquery functions in my code? I'd like to do this so submitting the ...

Issue with Facebook JS API, revokeAuthorization

I am trying to integrate FB connect into our user profile screen. Although, I'm having an issue with FB.ApiClient.revokeAuthorization. http://pastie.org/921942 The basic problem is that I revoke the auth at line 44 after the user clicks the disconnect button. After that, all subsequent API calls don't have a valid session to even che...