• How to get the Offset for content of the tranperent image

    Hi all, I am having an transparent image and that image having image content at the right most corner of the image. Is there any way to get the offset of the image content(Actual content of the image) in Jquery. Please help me.Thanks
  • dont detect new element prepend by jquery

    Hi, im starting with jquery and im trying to prepend a li to my ul list $.ajax({ type: "POST", url: "gethtml.php", cache: false, data: { id : $('#input_id').val() }, success: function(html){ $("ul#list").prepend(html); $("ul#list li").show(); }, error:function(XMLHttpRequest,textStatus,errorThrown) { alert(textStatus); } }); this html would be like ... <li><a href="#" id="1">Link</a></li> then i wil try to do this function when click on this links $("a").click(function(){ alert( $(this).attr('id')
  • Dialog with combobox with around 100 items getting javascript "stop running this script" when clicked on in IE only

    I posted this a few minutes ago but I can't find it, maybe moderator didn't approve? We are simply calling ajax to get html from an action then placing it in the div used by the dialog.  It has two comboboxes and one works fine with less than 20 items but the one with roughly 100 works fine when you use keyboard up/down keys but if you click on the dropdown to view it, IE throws some popup about "Stop running this script".  There is no script on the combobox that we call. Any idea, pretty new to
  • Android EVO and key pad problem.

    I just ran into this one today.  The Android key pad has a feature that if you hold down the key there will be other letters or characters pop up so a different character can be selected.  For example, if I hold down the w then a 2 will replace the w.  The problem seems to be with a JQM search control, I get the w and the 2 instead of the 2 replacing the w.  I know I can press the shift and the w and get a 2 but that is not the normal way it works. 
  • Dialog - form based with combobox, STOP SCRIPT RUNNING in IE

    First off I am a newbie. We are switching out all our prototype with JQuery.  We are trying to use dialogs for all of our popups. We have an odd situation with a combobox.  The page actually has two combo boxes and one work and the other(which has about 3 times the data) gets an error in IE.  "Stop running this script".  There is less than maybe 100 items in the list.  In firefox this works just fine. The popup is dynamic and based upon an ajax call.  Once the ajax call is complete we open the dialog
  • redirect by $ajax

    hello...am using .net with jquery and I am trying to redirect from a wcf restful service ,but I am having a problem that the status code is returned 200 while it shall be 301 or 302 so it's not redirecting , plus...on IE9 it's working but mozilla , chrome , safari are giving me parser error , here is my code :   function Activate(e) {             debugger;             e.preventDefault();             var activationCode = $("[id$='_inputTxtActivationCode']").val();             if (activationCode ==
  • Form is displayed outside the dialog in Firefox

    Hello, I have faced problem, please look into my code and say it's correct or not. <style> #dialog_link<?php echo $cnt; ?> {padding: .4em 0px .4em 0px; text-decoration: none; position: relative;} #dialog_link<?php echo $cnt; ?> span.ui-icon {margin: 0 5px 0 0; position: absolute; left: .2em; top: 50%; margin-top: -8px;} </style> <script language="javascript" type="text/javascript"> $(document).ready(function() {    $("#dialog<?php echo $cnt; ?>").dialog(    {       autoOpen: false,       width: 600,
  • Pulsate "opacity" parameter

    Opacity parameter to allow user to specify lower bound of opacity in pulsate effect. Pull request at https://github.com/jquery/jquery-ui/pull/125 Note: There is a comment about >100% opacity being allowed but the only way to do that would be to pass in >1 as the opacity parameter. Not sure if a special guard should be put in place for this.
  • Jquery not defined while having 200OK on .js

    <script type="text/javascript" >              jQuery.noConflict();              jQuery(document).ready(function () {                  jQuery(function (jQuery) {                      var jQuerydestLang;                      var jQuerydestLang = null;                      jQuery.translate(function () {                          jQuery.fn.translateTo = function (destLang) { jQuery('body').translate('english', destLang, { async: true, not: ' #ctl00_Menu1_ctl02_HyperLink2 ,#HyperLink9 ,#HyperLink10 ,#HyperLink11
  • How to combine two hover effects?

    How can I take hover effects of this spotlight plugin: http://web.enavu.com/tutorials/making-a-cool-spotlight-effect-with-jquery/ and incorporate it with the hover effects of this slide plugin: http://www.incg.nl/blog/2008/hover-block-jquery/ ??? If that's not possible, how can I take the spotlight plugin and set it to simply change the thumbnail image on hover?
  • creating a marker on an image

    hi all, i am trying to create some markers on an image to point some options. I would like to emulate the same shape as google marker balloon, but i dont know if its possible to create using just css and javascript or not. i have created a function which creates a rectangular div on the image when we click on the image. but i want its shape to be like a water drop, as it is much more better to see and figure out what it is pointing to. so can anyone or you tell me if its possible or not, or do i
  • How to prevent go back to previous page

    I just have a page  and a link in this page to another page(maybe inner page for muitlpage document or physical page). when I navigator to another page I dont want go back for any reason. actully I considerate first page as splash page. gratful for any help. thanks
  • Any way to detect 404 on ajax where dataType === script?

    As specifically stated in the documentation, the error handlers are not called when a cross domain script or jsnop call fails (actually they sometimes are, given a url of "foo" the error handler is called, given a url of "http://www.foo.com/foo.js" they are not) Is there any way for me to detect a 404 (other then perhaps assuming after some number of seconds that if success hasnt been called that an error occured)? Thanks Stephen
  • Sending data to server issue

    Hi, I have a script which lets me take data from an XML page, and displays it on a form. To do this I use: $(function(){ $('#results').hide(); $("td[id^='weekcommencing_']").click(function() { var week = $(this).text(); var url = "xml-data.php"; $.get(url, { week: week, store_number: 32492 }, fillinform); }); }); function fillinform(week) {        xmlDoc = $.parseXML( week );      xml = $( xmlDoc );              $('#daily_sales').val(xml.find('daily_sales').text() );            $('#projected_sales').val(xml.find('projected_sales').text()
  • Getting value of embeded select on button click

    I have a select inside of a table cell and when the user clicks the form Update button I need to get the value of the selected option and pass it to a php var for inclusion in the passed values to the next routine. The retrieval of the selected value could also take place when the selected option is changed.   Any help will be appreciated. The select has a class of 'symselect' assigned.  Thanks for your help. Bill S.
  • Lots of warnings with jQuery 1.5

    Why does jQuery 1.5 shows so many warnings in Firefox's Error console? Warnings about: Functions not always return values? Test for equality (==) mistyped as assignment (=)? Reference to undefined prototype? Reference to undefined property? This makes a quick debug using the error console a nightmare and to be honest shows problems with the code. Clean code doesn't show warnings to avoid introduction of errors later on. If warnings are accepted only to make the code smaller, that's a very bad approach.
  • Getting focus

    Hi all, For my new website I want to have a very different style of browsing. My idea is as follows: There is one central button in a open canvas (not limited to a certain space), once clicked it opens up several menu items, but now the question (2): How can force jQuery to focus on a specific area (a certain content area)? And is it possible to "extend" a part of the menu option diagonally? Thanks in advance!
  • ajax script redirect

    Hi , I am using an ajax call when clicked on a link... It asks whether you want to continue or not and if you say "ok" then it uses a perl script to delete something from the db... lets imagine it this way: +--------+ | name  |  LINK_COLUMN +--------+ | Brad  |  LINK_to_delete_brad | Paul  | LINK_to_delete_paul.. | Josh    | ... | John  | ... | asdfas | ... +--------+ =>So I was able to call confirm on each of those links and if agreed use an ajax call to a perl script to wipe the user from database.
  • jQuery UI Tabs selected index

    Hi, I am trying to figure out how to solve an issue where I want to select the previously active tab. I have been playing around with cookies to store the tab index. But now my problem is, how can I use the tab index to manipulate content in the specified tab index? for example what can someone do when you retrieve the selected index? Is there a way to manipulate the content of the selected index? var $tabs = $('#example').tabs(); var selected = $tabs.tabs('option', 'selected'); // => 0
  • List pagination

    Hi, I've got some problem. There's a list in HTML like this: <div class="list"> <a href="http://www.domain.com/alias/category/product/a01">A01</a><br /> <a href="http://www.domain.com/alias/category/product/a02"A02></a><br /> <a href="http://www.domain.com/alias/category/product/b01"></a>Basfasdf<br /> <a href="http://www.domain.com/alias/category/product/bcdsdfa"></a>Bcdsdfa<br /> <a href="http://www.domain.com/alias/category/product/hasfas">Hasfas</a><br /> <a href="http://www.domain.com/alias/category/product/wasda">Wasda</a><br
  • JQuery validate and UI dialog

    Hi, I have several Jquery UI dialogs on my page.  What I want to know is, is it possible to use jquery.validate to validate these separately?  jquery validate validates the whole form, so would this prevent me from doing this?
  • [SOLVED] slideUp/Down working but not sliding

    I'm trying to use slideUp and slideDown, they seem to be working in terms of being Up and Down but there is no sliding between these states, any ideas? My CSS: #sub-nav{ width:240px; min-height:240px; padding:0; background:url(../images/80-opacity-bg-fill-purple.png) repeat; overflow:hidden; position:relative; z-index:4; display:none;} .sub-nav{margin:0; padding:20px 0;} .sub-nav > li{ border-bottom:1px dotted #fff; width:200px; margin:0 0 0 20px; list-style:none; font-family:Tahoma, Geneva, sans-serif;
  • call common method in jquery

    hi,  If am click any events my common method should be call initially.using jquey pls let me know by M.Maheshrajkumar
  • How do I freez 2 column and 2 row using jquery.sheet.js

    Hi,   Kindly help to find out the way to use jquery.sheet to freez first 2 column and 2 row from top. I am finding difficulties to do so. Please help me out.
  • Disable scrolling event for canvas

    Hi All, I have canvas element as part of my mobile page. Intention is to allow user make some drawing on it through customized JS in the background, but it seems JQM intercepts event and  forces scrolling once canvas area is touched. Is there a way I can disable scrolling handling for particular area within mobile page? Thank you.
  • [jQuery.Cycle] multiple slideshows - begginer questions

    Hello, I know that similar questions about this issue have been already asked. Know that I've used the 'search' button at first, read everything I found and tried to understand it. However, I failed to do so, mostly because I'm rather begginer to jQuery, while descriptions were usually advanced, without detailed explainations. And this is what I seek for. So, let's start. What I want is to have several cycle slideshows at 1 website, among which at least 2 slideshows would be at the same page. Here's
  • jquery popup

    Hi,    In my project i have the popup.i am loading the popup with gridview . gridview having  dropdown after selected value change of dropdown i have to load the selected value details.    Now the problem is when i select the value in drop down the popup will be disable. because am selecting the value from database with the select...
  • Ui Tabs and middle click

    Hi, I am using ui tabs in non-ajax mode. For a unique tab I am following this method (http://jqueryui.com/demos/tabs/#...follow_a_tab.27s_URL_instead_of_loading_its_content_via_ajax )to follow an url. It works fine. But if I click on this tab with the middle click (scroll click) of my mouse, this method doesn't work : a new browser tab is opened, and an Ajax request (GET) is sent to load the target instead of follow the URL. In my case, I'd want a middle click open my anchor url in a new window.
  • [jQuery] Best plugin for modal dialogs

    Hi, There are so many plugins for modal dialogs that I don't know which one should I use and/or which one is the best... I mean, if there was only one plugin of this type including all the features from all the modal plugins, that would be cool. Which one do you think it's the best and why? Care to state the pros and cons of each plugin (or the ones you know/have already tested)? That would be nice...
  • [jQuery] new plugin, gzoom v.0.1 magnifier

    Hi, I wrote my first plugin, you can find it here: http://lab.gianiaz.com/jquery/gzoom/ Please report any bugs or consideration about it here... but be kind... I'm a newbie :-) Bye -- gianiaz.net - web solutions via piedo, 58 - 23020 tresivio (so) - italy +39 347 7196482
  • $("®").replaceWith("<sup>®</sup>");

    Any ideas on how to get this to work?$("®").replaceWith("<sup>®</sup>");
  • Transparent PNG shows black edges in IE8

    I created a button with 2 states for mouse-over effects using css sprites. This has always worked well and I have no issues. I recently added some jquery to my buttons to create a smooth transition for the mouse over and this is where I see the issue. When the page is initially loaded the image looks fine. When I hover over the image there is a brief flash of black around the transparent edges then the transition begins and everything looks okay. When I un-hover the image shows the black edges. From
  • [jQuery] Is local javascript evaluation possible, instead of globalEval?

    I'm writing an Ubiquity command and I want to pull in some remote HTML/ Javascript. The code I currently have is like so:         var doc = CmdUtils.getDocument();         var url = "http://my-remote-url";         jQuery.get(url, function(data) {             jQuery(doc.body).append(data);         }); The problem is that the javascript within data gets evaluated within the global scope (using jQuery.globalEval), but the CmdUtils object isn't available in the global scope and I'd like to be able to
  • [jQuery] Why globalEval?

    I was just reading through some of the jQuery code again to better learn its internals, and I'm not sure why the globalEval function exists in its current form. Whenever I want to eval something in the global context, I always do:     Function(data)(); since the Function constructor doesn't create a closure. This seems much simpler than the current logic, expecially for Safari - but I admit that I haven't done much cross-browser checking. Do some browsers not support the above syntax, or is there
  • Live Text Update and Auto Resize

    Is there a plugin that will do this? Or does anyone have an idea about how to implement something like this? The idea is for a sign company to have customers customize the text for their signs. They want to allow users to input text and have it update the sign image live with the text and resize it if the text string get's too long. Any ideas or thoughts or suggestions? Thanks a million.
  • [jQuery] Accordion initial state after page changes

    Hello, I'm stuck with a simple jquery accordion script that is http://www.stevekrueger.com/jquery-accordion-tutorial/. The problem is that there are links inside my divs that brings to another page where the same accordion menu should be included and left opened at the same state like the previous page (hope to be enough clear... ). The script I'm using will always close all the accordion divs upon the second page load. I'm a total newbie of jquery and couldn't understand exactly how jquery works
  • [jQuery] Superfish skins...

    Hi all, I am new to jquery and superfish, but I am liking what I see. I am wondering if there is a repository of superfish skins to obtain new looks. The demo is making sense, but I see the site www.sharevault.com uses superfish and has a different menu look. I assume the different look is controlled only by the css file. Is there a source for obtaining different looks - it would make sense for everyone to take advantage of the more creative ones out there. Thanks, Phil
  • [jQuery] [Cycle] opts.slideCount Problem

    a fast question : how to use the opts.slideCount ? function onAfter(curr, next, opts){ var msg = ' ' + ( opts.currSlide + 1) + ' / ' + (opts.slideCount); $('#counterMedia').html(msg); }; seems not working easily : the result in the #counterMedia is : 2 / undefined the opts.currentSlide works well but the opts.slideCount not
  • Overriding themes

    Hi Anyone know if it's possible to override a style attribute from a jQuery Mobile theme using in page js / inline styles / html? Cheers
  • [jQuery] How to FCKeditor create and destroy on fly?

    Hi All! Have a problem with correctly unload (destroy) FCKeditor object from DOM, created through $.fck() plugin? I wana edit HTML content on fly. Double click to content block is called FCKeditor through you plugin. Button "Save" is post data to action.php script. I want use Ajax for avoid reload page. Can I make button "Cancel" that make unload FCKeditor from DOM on fly. I tryed use $.remove() method, but any next call .fck() is failed. P.S. Sorry for my bad english.
  • Next Page

  • Announcements

  • The Basics of jQuery AJAX

    A step-by-step tutorial for those new to jQuery and wanting to use AJAX in their projects. Includes valuable information about troubleshooting using the console and understanding the request / response. http://jayblanchard.net/basics_of_jquery_ajax.html
  • jQuery Conference 2010: Boston Announcement

      The jQuery Project is very excited to announce the jQuery Conference 2010: Boston on October 16-17, 2010.  The conference will be held at the Hilton Boston Logan in Boston, Massachusetts.  The best part of this announcement is that Tickets are on sale now!  This venue is the largest that the project has worked with to date (Harvard Law School in ‘07, the MIT Stata Center in ‘08 and Microsoft New England Research Center in ‘09) and we expect to sell out very quickly. A brief synopsis of some of