jquery

How to use jQuery draggable with fixed position?

It works perfect in firefox, but in ie, chrome and opera it doesn't work. <div> has position:fixed, and is .draggable() and it doesn't work except firefox ...

I want my tabs to be loaded dynamically (only when clicked)

Possible Duplicate: Jquery Tabs- Load Contents only when clicked Hi, I am relatively new to jquery and web development. I am using jquery tabs to create tabs. here is the code <div id="tabs-1"> <%@ include file="page1.jsp"%> </div> <div id="tabs-2"> <%@ include file="Page2.jsp"%> ...

jqGrid: Disable form fields when editing

I'm currently developing a web application designed for the administration of vending machines and such. I decided to use jQuery, jQuery UI and jqGrid for this project, so I can easily provide a great and highly customizable user interface. Unfortunately, the jqGrid documentation is pretty outdated and doesn't cover all the features of t...

How to make a rating image like imdb.com

Hi, I am trying to make some raing part in my website. I want a rating image, when the user moves mouse over over first star to ninth star, all stars in the sequence are lighted. And when the user clicks for example 9th star then the movie's rating is going to be nine. How can i do that? ...

Trigger a function only after the completion of multiple AJAX requests

I've got a particular function I want to run once, and only after the completion of several AJAX requests. My current solution looks a bit like this: function doWork() { //This is the function to be run once after all the requests } //some tracking/counting variables var ajaxDoneCounter = 0; var numOfAjaxRequests = 5; var workDone...

JQuery basic selector usage and non unique element ID

I'am maintaining a GUI built using JQuery. In one part of the GUI, multiple tabs can be opened to edit data. When a new tab is opened, it is created by cloning the first tab content div and updating the input fields in the div. The new tab is given a unique ID based on the tab index, but all other ID's within the cloned tab div are the...

Reload parent page on fancybox transitionOut..

Hello, I am using fancybox to show Iframe within it like this.. $(document).ready(function() { $("#button").click(function() { $("#iframe").fancybox({ 'titlePosition' : 'inside', 'transitionIn' : 'fadeIn', 'transitionOut'...

Loadtesting ajax applications based on jQuery

Does anyone have any experience in load testing ajax applications? specifically running jQuery as their javascript library? Loadrunner and Neoload is the two of the load testing applications that works on the gui layer. But none of whom supports the jquery library. As for the other load testing tools, like jmeter, grinder and other ht...

Web-based Circular Interface Frontend - No Graphics!

How would you create the front-end for a web-based circular interface that does not involve using graphic files or Flash? ...

load images using jquery ajax in asp.net

Hi Guys, I am looking for a good approach on how to do the below I have a file server where i store all of images. I need to display these images onto my webpage using jquery and ajax. Can someone please advise on how to do the above i can do the reading of the image from file server using a web service hosted on the file server whic...

jQuery plugin issue: focus not working

This is the plugin: ( function($) { $.fn.foo=function() { $(this).focus() return $(this) } } )(jQuery) Now, $('input#foo').foo() does not get focus. Any idea why? ...

jQuery $.post() doubt!

I'm trying to use POST to pass variables to chat.php from try.htm The code for try.htm is : <head> <script type = "text/javascript" src = "http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"&gt;&lt;/script&gt; <script type = "text/javascript"> function yo() { var text = $("#msg").val(); $.post("chat.php...

Javascript function containing JQuery ajax - Function returns undefined

Hi, Can any give me a clue why this isn't working? The function returns undefined. It alerts a boolean values but still return undefined?! Thanks function IsUniqueEmail() { var email = $("#<%=EmailAddress.ClientID%>").val(); if (email.length > 0) { $.ajax({ url: 'handlers/validator.as...

Non Destructive WYSIWYG editor?

I am looking for a very user friendly WYSIWYG for text-areas, that leave the text-area intact, to allow normal JavaScript validation. I have tried tinymce and it is not easy to do that. I am currently using of the markdown wmd, but because it displays in the text-area, my target audience is clueless about how it works. Any tips or reso...

problem with 2 jquery autocomplete on same page

I have to 2 jquery autocomplete fields with same source url which are injected by 2 separate modules. When I type anything in first autocomplete I get result dropdown. Then I type something in second autocomplete I get result. But then if I type in first autocomplete, it does not show results. It makes the request etc, but it does not...

events doesnt show start to end

Hello everyone, for some reason I cant get my events to have start and end on them except for the first event that shows during recurrence. Does anyone have any idea why this is so? I have a working example that shows what I'm talking about. http://jsbin.com/usori3/11/edit ...

jquery format currency plugin problem! Not working without symbol!

I have verry strange problem. I've found this plugin http://code.google.com/p/jquery-formatcurrency/ which in it's basis do the job, but I need a little customization. I want to use it's features but when I set settings like this $.formatCurrency.regions[''] = { symbol: '', positiveFormat: '%n', negativeFormat...

jQuery: how do I append variables onto a form path?

Lets say the URL in my form is action="/medias/new_from_disk?CKEditor=content_body&CKEditorFuncNum=1&langCode=en" and the form has ID myform how would I conjure a jQuery command to add to the action &var=value ? complete form: <form enctype="multipart/form-data" id="myform" method="POST" action="/medias/...

jquery with update panel

i have a problem while using jquery context menu and update panels. i am writing the javascript of the context menu in the RenderBeginTag of a Customtextbox control using htmlTextWriter. everything works fine, i can right click on every textbox and the menu appears. but when i triger a partial postback using an asp.net updatepanel, the m...

jquery ui tabs need to empty the prev tab when we move to next tab

hi , i jus made a script to empty the prev selected tab its working fine when we switch from 1 to 2 to 3. but bad luck its not working when we switch frm 3 to 2 to 1.here is the script var prevTab = 0; jQuery("#tabs").tabs({ fx: { opacity: "toggle" }, cache: false, show: function(event, ui) { alert(prevTab); var prevTab = ui....