jquery

jqModal overlay in Firefox not transparent

I'm using jqModal for an application I'm developing. It works great in IE8, but in Firefox 3.5.2, the window comes up but the overlay is solid black. It seems like a CSS problem but I'm not sure. The samples on the jqModal site work fine. Any ideas? Thanks. Site: ASP.NET with MS AJAX jQuery 1.3.2 latest jqModal UPDATE: After re...

FadeIn problem in jquery

Hi, I have the following code but the fadeIn and fadeOut is too fast, I can barely see it.why is that? $('#post_code_error').html('You Post Code is Out of Range').addClass('post_code_error').show().fadeIn('10000'); <div id="post_code_error"></div> div#post_code_error { display:none; position:absolute; top:300px; right:100p...

Internet Explorer and <select> tag problem

I am having the following problem under Internet Explorer 7/8: I have a popup that gets activated when user mouseover a link. The popup is a simple <div> that contains some data. Inside this <div> tag there is a <select> tag with some <option>s. I have attached mouseover/mouseout events to the <div>, so that this popup will stay open wh...

jquery reserved words

Is there a list of jQuery reserved words published somewhere? I ask because jQuery won't return a value for a class I'm using called "selected". If I change the class name to something else it is found. Example: <ul> <li><a id="a1" class="selected" href="#tab1">Part I</a></li> </ul> alert($('ul li a').attr("class")); I get an em...

how do i have dynamic confirmation popup using simple modal

I am using simple model which is a very neat piece of code but i have one requirement i can't figure out. http://www.ericmmartin.com/simplemodal/ my use case is the third options where i want a "Confirmation Popup" after a user clicks on an action. The issue is that in the example the message is hardcoded in the js file. i need to be...

How to extract the text between <a></a>

I must use jQuery for first time.... <a class="Tag Resource" href="http://localhost/" resource="http://localres/" property="prop">test</a> I've tried to extract the text using var = $('a').find('Tag Resource').text(); and var = $('a').find('Tag Resource').html(); but it doesn't work. I need "test" as plain text. Can someone tell me...

Jquery slide up and down what should i do?

Hi, im not familiar with jquery so any help would be appreciated, i have some code, (cant remember where from) that shows part of the content and then allows you to show more or less. What i would like the code to do is exactly what it does now, but instead of just show / hide, i want it to slide down and up revealing more or less conte...

Jquery and formating a textarea for tagging ??

I am looking for a way to use a textarea and get the values separated by commas, and place them into the array. Really I am looking for how to auto format the textarea so when the user types something in it either forces or something a comma break. I want to use autocomplete, but I have no data to check it with since this will be a new...

$(document).ready(function(){ in JQuery... worry about overwriting?

In using this cool onload function from JQuery $(document).ready(function(){ // my stuff } do I need to worry about overwriting anything else that may have called it? ...

Applying jQuery function to dynamically added item

When adding a new textbox via jQuery append() function it appears jQuery is unable to apply a function to that textbox; $("#ulList").append("<li><span class=\"ui-icon ui-icon-circle-close remove\"/><em class=\"selectedWord\">" + selectedWord + "</em><input class=\"acf acfb-input ac_input\" type=\"text\" id=\"" + name + "\" n...

get url:xml why external url does not work

I am trying to grab information from an external xml with the following code. It only worked when I uploaded same file to my servers. Why cant I grab information from an external url? <script language="javascript"> // This script uses jQuery to retrieve the news XML file and display the contents $(document).ready(function(){ $.ajax({ ...

Placing an empty div between jqGrid's Caption and The grid itself

I want to put some custom items (filters inputs) between the Caption and the grid itself on the jqGrid. Is this possible, I have searched the api and nothing jumped out at me that would enable this. For now, I have simply removed the caption and just put an all the stuff I want above the grid (including an H2 for what I wanted the capt...

jQuery tablesorter month name locale

Using the jQuery tablesorter plugin . I wonder how could I make it work with dates in the full format: "Jan 21, 2009 16:00" Problem is that when that date (a string) has been localized with user current locale "gen 21, 2009 16:00" Do I have to write a custom sorter for each locale? Thanks. `<table id="orders" class="sort...

jquery listbox validation

hello guys, I'm using Jquery and html and I just ran into an issue with list menu (multiple) validation. The issue is that I cannot(/do not know how to) count the number of selections the user has made. I tried adding ':' at the end of every option value and then split the text into an array, and it did work but then I mess my database. ...

nhibernate.validator & x.Val & jQuery with custom validators

Hello, I've been playing with nhibernate.validator and xVal and JQuery and they work together quite nicely, until I try to have custom validators. According to the xVal codeplex side custom validators are supported if they implement the ICustomRule interface. and you supply the ToCustomRule function which returns a customRule with t...

jquery Multiple Sortables/droppable Revert Issue

The Scenario: I have a single page that has three sortables on it (arranged horizontally relative to one another), all connected via the "connectWith" option. Between the three of them, I can sort, drag and drop...no problems. I added a droppable on the bottom left of the page so that the user can drop an item from any of the three lists...

jQuery Cycle Plugin - gaps between transitions in IE7

I am using the jQuery Cycle plugin and having trouble with gaps between the images when there should be smooth fade in/out transitions. This only happens in IE7. I have seen the earlier postings about nesting the images in other elements to mask the fact that they are png images. Is there a solution to make this transition smooth? Tha...

jquery modifying the value of href

Hey, I have a lot of links with the class .moo, I need jquery to scan the element for them, then to add a bit of text to the end of the href. For example: This is what I have: <a href="http://root.net" class="moo">root.net</a> and this is what I would like to have, after the jQuery magic happens: <a href="http://root.net?iframe=tr...

Appending Jquery HTML?

I am trying to append the text of a link inside a <li> to a <ul> The problem is getting it to scan through and find duplicates and not add a new . Here is the code: $('.popular-list li a').live("click",function() //this will apply to all anchor tags { var stuff = $(this).text(); var match = $('...

Article about jquery library hosted on Google not actually caching...

...re-downloads even if it was in cache. I think it had some statistics regarding the number of Yahoo users for which items had to re-download even if it was in their cache (60%?)... Read it earlier this year, but could be from last year too. I believe the page had lots of yellow on it too. Has anyone seen (bookmarked? wrote?) this a...