Category "jquery"

telerik radGrid - persist client state on sort/paging/filter

Even in this ajax example which I really like the look of, when ever the top level grid is sorted the "state" of what you were doing "disappears" For example,

Reload parent page after submit in iframe

I have the same issue as in this question. (which has no correct answer, I just test all of them): Reload page after submit in iframe (javascript/jquery) What I

shorthand switch statement with conditional OR operator

Is it possible to do that? For exanple for 'a' or 'b' is equal to 'X'. If 'c' or 'd' or 'e' is equal to 'Y' var qwerty = function() { var month = 'a';

JQuery: Deferred loading of JQuery and '$ not defined'

I cannot wrap my head around this issue and the vast offer of information I found on the net: On my project the JQuery is loaded with "defer". This I cannot ch

Show Hide DIV with Jquery

I have this simple JQuery Show/Hide function that obviously show and hide a div. There are three things I cannot do on my own. <script type="text/javascript

Alternative to event.srcElement.id

Currently I have a function that works perfectly for IE, Chrome and Safari in order to get the ID name of a textbox I'm placing a focus on within a Gridview. f

How to get the selected values of multiple chosen dropdowns

I am adding on the fly multiple jquery chosen dropdowns with multiple attribute to true. How do I get the options of the selected dropdowns? End user will choos

Jquery Cycle Slider Carousel

I am having problem with jquery cycle carousel to slide vertical with 4 visible items I have put he slider in Jsfiddle to test $('#list_post').cycle({

jQuery get max width of child div's

I need to get the max width(just the one width) of the child div in the wrapper div element <div id="wrapper"> <div class="image"><img src

Selecting div's href's and submitting form?

I have this code in my html: <div id="div1"> <a href="a"> Apple </a> <a href="b"> Orange </a> <a href="c"> Lemon </a>

How to get a cross-origin resource sharing (CORS) post request working

I have a machine on my local lan (machineA) that has two web servers. The first is the in-built one in XBMC (on port 8080) and displays our library. The secon

javascript html popup window

I am fairly a beginner with javascript. What I want to do is when I click on a button: I want it to popup a window. The content of this window is HTML (actual

EqualHeight Not Working With Ajax Load More

I am currently developing a sport website where I have Ajax Pagination and Infinite Scroll plugin to load more posts instead of paginating. I use equalheights t

Second select load from database after first one is selected

I have 2 select items. In the first one I'm loading the options from a MySQL database table using PHP. The second one I want to load the fields from another t

Reload page after submit in iframe (javascript/jquery)

I have a page with an iframe. In the iframe there’s a submit button. When I click the submit button I want the parent window to be updated. This is what I

Bootstrap: Implement facebook-like notifications in header (navbar) as submenu, not just a counter

Chances are I'm just retarded and I'm getting an answer within a few minutes, but I just can't seem to find what I'm looking for. I need to implement "faceboo

how get all values of one class in jquery?

I am trying to get all values of a class input fields. but it is return only one fields value Html code <div id="mydiv"> <input class="seconds" type=

Responsive image slider using picture element?

Does anyone know of an open source code or snippet example of a responsive image slider with < > navigation controls that uses picture element when resi

jQuery Save Image Onclick

On my website I have a jQuery script that, if the download button is clicked it will open the image that you want in new window. My question is, how can I make

How to catch a "load" event on STYLE tag with IE?

Let's say I have the following code: var style = $("<style/>") .html("body{background:grey; color:white;} /*and more CSS style*/") .on("load", fun