jquery

Combined total for multiple jQuery-UI Sliders

Hi everyone, I'm trying to implement a page where there are 4 jQuery-UI sliders, and I want to make it so the combined total of all 4 sliders will never go over 400. I don't mind which way this is implemented, it can be from a 0 start, and as soon as you change 1 slider, the remaining available total decreases or setting a slider past ...

how to genarate Json for jsTree

Hi, i found yestarday the jsTree plugin, it's great. Have sombody a SQL sample to create the json for it? ...

Can't Manipulate data inserted from an ajax request in jQuery

After calling the server and turning the data it returns into a table. I insert it into the page using jQuery's .html() syntax. After that the data appears in the page but I can't manipulate it using jQuery. heres the code: <html> <head> <title>testJavaScript</title> <script type="text/javascript" src="jquery-1.4.2.js"></scrip...

jquery problem whit updatepanel

Why jquery tool when placed in an updatepanel do not work? Jquery calender I've written, if it were inside a updatepanel do the work falls. ...

loading all images before slideshow

I want to create a slideshow which contains some 30-40 images. I want to load all these images before showing the slide show, how it can be done? I will play my slideshow only after all images are loaded. ...

Is there a way to encrypt in jQuery?

How do I encrypt something in jQuery? I want to have the option to encrypt via SHA1 or MD5. How do I do that? ...

Jquery Inline Editing

Hi, There is a table that the data is being loaded dynamically in to it using Jtemplate. After I right click on a row and click on edit the entire row should go to the edit mode and the cells should contain dropdowns,text,date fields etc.as well it should display save and cancel buttons onclick of edit. after clicking on save the change...

jqGrid with JSON is rendering table but without data in MVC Project

I have set up jqGrid with JSON in my .Net MVC project. The grid is rending, but the data is not appearing. I am not sure what the problem is. Any help would be very much appreciated. I have the code below in my controller. jsonData does get filled and passed to my Index. While stepping through the code I can see that jsonData has 1...

using jquery Validation.

I'm using jquery Validation. I am trying to control where the error message will appear. How can i do that? 10x ...

How to make a readonly text box editable on mouse-over using J query

I have a read-only text-box with text in it. How to make it editable on mouse-over using J query ? ...

Remove illegal URL characters with JavaScript

Hi, I have an array filled with strings, a value can for example be "not updated for > days". I use the values in the array to create some url's and need to remove the /\<> and other illegal URL characters. How do I easiest do this? I started with var Name0 = title[0].substring(1).replace(" ", "%20").replace("/", "") + '.aspx'; var Na...

how to avoid jQuery UI draggable from also triggering click event

A have a large div (a map) that is draggable via jQuery UI draggable. The div has child divs which are clickable. My problem is that if you drag the map, on mouse up, the click event is fired on whatever child div you started the drag from. How do I stop the mouse up from triggering the click event if its part of a drag (as opposed to ...

Excruciatingly slow Ajax with IE6

The title, I'm sure, is gonna provoke a "here we go again..." with many readers. Apologies. I have googled this problem and got the phone book. Mostly re SSL, it must be said. Others point to the terrible JS engine in IE. None of the internet rants I found have really answered this satisfactorily for me. So I thought I post here......

How do I make globalization work with MVC2 and jquery?

Hi, I am trying out some globalization in an asp.net mvc2 application but can't get it to work fully. I am using the library http://github.com/nje/jquery-glob as a tool to display currency and dates etc according to user wishes. However something is bothering me a little. IU can't get the client / server side validation to actually acce...

Aligning div css properties

<form> <div id="data" name="data" class='checkbox' style='overflow:auto;width:30%;border:1px solid #ccc;height:550px;margin-left:10px;display:inline;'></div> <div name="r_data" id="r_data" > </div> </form> In the above i populate the data dynamically from jquery. What should be the seco...

Insert variable as object in jQuery

Hey all, I have a simple variable: var spanId = 'hi'; Now, I want to generate this: $('#hi') using the variable. So I tried: $('#' + spanId) But that didn't work. Any suggestions? Thanks, Amit ...

ckEditor and jQuery what am I missing ?

<html> <head> <script type="text/javascript" src="jquery-1.4.2.min.js"></script> <script type="text/javascript" src="ckeditor.js"></script> <script type="text/javascript" src="adapters/jquery.js"></script> <script type="text/javascript"> $(document).ready(function() { $('#myeditor').ckeditor(); }); </script> </head> ...

jQueryUI sortable,draggable revert event

Hi, I have a problem with jQuqeryUI. I would like to run some code whenever an element is dragged and dropped on an invalid target. As far as I can see, there is no predefined event for this, but I have thought about combining information from following events: over, out, remove and stop, to achieve this. However that might sound like it...

create html box with custom UI

I need to create a specifci of 600px x 800px dimension and I need the box with its very own scroll bar with custom UI. i dont want to use the browser's scrollbar as that would not gel with the rest of the design. Can anyone help me with this? ...

Get the selected text and put it in variable

I have the following code which loads a xml file to populate a dropdown. I would like to put the selected options text into a variable. I already got the value of the selection but not the text. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http:...