jquery

How to pass form values using Jquery Mobile or JQtouch?

Hii friends, i m beginner to jquery and i have to develop a web app for iphone , i choose jquery mobile but i didnt able to pass values to next page, seems its a dummy questions,but any help appreciated? Thanks Guys, ...

Error in javascript , help me

Why this code is error var images = ['/test/img/Gallery/large/4cba0c8a-4acc-4f4a-9d71-0a444afdf48d.jpg','/test/img/Gallery/large/4cba0ca8-2158-41af-829a-0a444afdf48d.jpg','/test/img/Gallery/large/4cbc549a-5228-433f-b0bc-0a444afdf48d.jpg']; $('.triggerNext').click(function(){ nextImage(); ...

cropping and ajax uploading

hi , i want to upload profile pic like facebook and ajax upload the image and crop with the fix size and ajax upload to server . in jquery ,php , how can i do it ? thanks rahul ...

image-slider.js need to add some functionality

I need to add some functionality to image slider from http://www.dhtmlgoodies.com/index.html?whichScript=image_slideshow I wish to have clickable big image (in previewPane) which goes to next one after click. ...

RegisterClientScriptBlock In userControl

Hello. This is my jquery and javascript code : <script type="text/javascript"> $(document).ready(function () { //setup new person dialog $('#dialog').dialog({ modal: true, modal: true, // show: "clip", // hide: "explode", autoOpen: false, title: "انتخاب فاکتور"...

Jquery Tablesorter 2.0 Question

Hey I've got a question about jqueryy plugin tablesorter 2.0 I'm using it to display all users from my database. Columns: Name, Firstname, Initial, Department Each initial should be clickable. For testing, I added following code: $("#initial a").click(function() { var userInitial = $(this).text(); $("#addedUser").append(userIniti...

Jquery draggable and clone

Hi guys, var icon = $("<div style='width:100px;height:100px;border-style:solid;'>"); icon.draggable({ containment: 'parent', axis: 'y', drag: function(e,ui) { } }); icon.clone(true).appendTo($("body")); After I have made a clone, icon dragging stopped working. Does anybody know, how to fix this? Thanks ...

How to get the id value from check box?

1 naga naga123 2 Tamil tamil123 3 vinod vinod123 4 naveen naveen123 5 jakkir jakkir123 save edit delete UserID: UserName: Password: I have check box at the end of each row. When I click the check box and select edit the values should get displayed in the text boxes corresponding to use...

How do I effectively calculate zoom scale?

I have a draggeable image contained within a box. You can zoom in and zoom out on the image in the box which will make the image larger or smaller but the box size remains the same. The box's height and width will vary as the browser is resized. The top and left values for the image will change as it is dragged around. I'm trying to kee...

MVC 2; Use a datepicker to input a date in a grid.

Has anyone successfully assigned a datepicker to a date field that is repeated in a grid? Surely someone has done it before? I find a problem with doing this is that the ID for each field in a row is repeated in the next row. So when I assign a date on the 4th row, I update the same field in the first row because their ID is the same. ...

How to get the value of a number embedded in text using jQuery

I need to find out the value of the numeric part from a string, where the string contains two parts, text and number. There is only one couple of such text. For example number01, data34 etc. ...

jQuery not showing Swedish characters correctly

Hi. I wrote a small snippet in jQuery to just put a search word into my searchbox in wordpress, then when clicked to disappear. <script type="text/javascript"> var $j = jQuery.noConflict(); $j(function(){ $j('#s').click(function() { $j(this).val(''); }); ...

Does an alternative to .closest() exist?

Hello everybody, this is a snippet from my code: $("#myid").append($("p:contains('text')").closest("div").clone()); I tried to get the first closest ancestor div-element of p containing 'text'. I'm looking for an alternative to .closest() because I have to use jquery version 1.2.6. Do you have got an idea what I'm looking for? I ho...

Best Way to Get All DOM Elements with jQuery

Hi! What's the best way to get all of the DOM elements on a page using jQuery? Thanks, DLiKS Edit: This is for use in a script that grayscales an entire page using grayscale.js - http://james.padolsey.com/demos/grayscale/. jQuery because I can! :P ...

jQuery UI Slider moving upwards and disappearing in the div when used

I've replaced a MooTools slider with a jQuery UI slider as our content management system uses jQuery and various other jQuery UI elements. I've run into a problem where on Firefox and Chrome the slider bar (it's horizontal) seems to move up into the div when sliding it, and thus hiding the slider. It seems that it does this in every seco...

jQuery getJSON not working

Hi guys, I am trying to get some data back from a server using jQuery $.getJSON, and the code seems to work fine, until it gets to $.getJSON, it doesn't seem to be triggering that at all, there are no console logs when I press the button, here is the code below, $(document).ready(function(){ var funk; $('#button').live('click', func...

Change the position of a jquery dialog box after it loads

I have a jquery dialog box that loads with an image and auto resizes to the image. This is what I want. However, the box is rendered at the center position, but the image isnt fully loaded yet, there is a delay in getting the image. So when the image is loaded into the dialog box the upper left corner is centered, but the whole bottom ri...

asp.net jquery loading values on page after post back

Im currently trying to use a jQuery plugin: jQuery Autocomplete Tokenizer Now after posting back the page, I want to re-load the values back into the textbox for whatever items had been entered. Now the jQuery on the page is like below: $(document).ready(function () { $("#<%=txtPeople.ClientID %>").tokenInput("Handler.ashx", { ...

jQuery .submit for autologin works in FF,Chrome... not IE

I have an internal suggestion box application where all users can have the same username and password .. so I'm doing an autologin with a jquery form submit.. this works great in FF and Chrome but in IE.. it populates the values in the user/password form fields.. does the submit.. and then just does it again over and over.. ( the appl...

Is it possible to have a jquery scrollable and jquery slider on the same element

The question says it all. Please Help. Thanks in advance. ...