jquery

ThickBox not working when data is from server side

I m using jQuery thick box to show an aspx page in a modal dialog This works fine in my page.In my page,I have some links on which when i click,using jQuery's Load method,I am getting some data from the server page and loading into it.(the data i m getting is a grid which contains some images).My problem is that my thickbox is working fi...

One callback for multiple json requests

I want to make X number of ajax requests in jQuery and add the json response to an array. When all the ajax requests are done, I would like to execute some code. Is there a good way to solve this? ...

JQuery Widget Events in Object Orientated Javascript

I'm attempting to write a custom widget and I want to use existing UI widgets within the class that I'm writing. The problem is that when an event fires the class method that is invoked seems out of scope from the rest of the class, as any members I attempt to read are undefined. Here is the code: <script type="text/javascript"> MyCla...

How to use jquery correctly in SharePoint Web Part - jquery doesn't always fire

I'm learning how to use jquery with SharePoint. My example draws a red box inside the Content Editor Web Part when a link is selected. My code works when the SharePoint page is in edit mode but not after I've left the page and returned in non edit mode. The jquery function does not fire for some reason... I'm missing something simple...

jQuery Air Passenger Seat Layout Example

I showed an extreme sample before 6 months. it is related to "Air routes". there is a plane map. you can select a seat.you are separated. Can you give me this link if you know where is? ...

Creating a Drupal node with javascript

I'm looking to create a drupal node with javascript, from the same site, and I wonder which direction I should go. I know you can use services/json to do this, but surely there's a simpler way? Thanks ...

jquery datepicker multiple instances

Hello veryone! I have made a RequestForQuote form, in which I give the possebility to add new positions to get RFQ'ed. In basics this is quite easy done via PHP in my case. Work realy fine. You may want to have a look. It is to be found at: my website Now I got infected with the jquery-virus and simply wanted to add the datepicker ui ...

jQuery UI Dialog button positioning

How can I position buttons from jQuery UI separately from each other. Buttons are aligned in same direction. I would like one button to be aligned to left while the other to the right. Is it possible? ...

Appending an error message, want to clear the div first.

Hi, My HTML looks like and js looks like this: <div class="container"></div> var html = "<div class="error">hello</div>"; $(".container").append( $(html) ); Problem is that I don't clear the html inside the div with class=container first, so I keep appending messages to that area. How can I clear anything inside of the div class="...

JQuery form update listener

Hi, I want to trigger a javascript function when one of the elements in a specific form has been changed. Is this possible using jquery? Does anybody has an example how to do this? thanks, Bart ...

jQuery - Append JavaScript to a Div

I'm using jQuery to append some JavaScript when an item is expanded. But the JavaScript code inside of the jQuery function is causing the rest of the jQuery code to explode. $(this).parent('li').find('.moreInfo').append('<script>alert("hello");</script>'); What can I do to solve this problem? ...

set overflow hidden in some cases

Hello, my question is How can I set overflow hidden in cases where the html go's outside the screen Right now I have set html {overflow: hidden;} in the head tag off the page. So, it's hidden all the time In my particular case the errors that I show in the registration process cannot be seen on my 13inch laptop, but I don't want to sh...

jQuery Horizontal Accordion and animation problem

I need to make a horizontal accordion these days. You can see that there is a small "jump" of the color boxes on right hand side when clicking the color box. I don't know why the small "jump" occurs. I then use animate instead of hide and show to try to solve the problem. Even if the width animates to 0px, the element still has a ...

setting innerHTML for all browsers in javascript

I want to load contents of a DIV dynamically in javascript.I used this code var strHtml="<h3>Test</h3>"; var div = $("#divPrice"); div.innerHTML=strHtml This works in IE. But not in firefox.Whats the alternative of this which works on all browsers ? ...

How to make update panel in ASP.NET MVC

Hi Guys i make search about how to make update panel in MVC ,but , because it is new , i cannot find good samples regarding it.How can i implement this to MVC? Thanks ...

Get Hidden Field Value from Active jquery accordion

I am using MVC with C#. I need to get the value from the hidden field of the active accordion in $(document).ready function. ...

(jQuery) Problem processing values in multiselect list box

Hi. I just discovered something that I found odd. I have mys listbox with several store items [item ID, item name]. <select multiple="multiple" size="4" name="storeListBox" id="storeListBox"> <option value="11">item 1</option> <option value="12">item 2</option> <option value="13">item 3</option> <option value="10">item 4</option> </sel...

jquery-ui dialog problem with .live

I'm currently loading data from a mysql db - if a certain condition is met, a volunteer button is displayed. When the button is clicked I want to display a dialog box, and a php file is called to populate the box. First I initialize the dialog: $(document).ready(function() { $("#chaincrewDialog").dialog({ autoOpen: false }); }); ...

Oracle BPM Ajax to Fuego Object

I have a specific requirement to have autocomplete in an Oracle BPM project. I have been trying to figure out the best way to achieve this activity. I have a good foundation of jQuery and auto-complete. What way do you find yourself satisfing these types of requirements? I would like to get the response straight from the object. ...

jquery images with preloading image

$(document).ready(function(){ // The plugin $.fn.image = function(src, f){ return this.each(function(){ var i = new Image(); i.src = src; i.onload = f; this.appendChild(i); }); } // The code for...