jquery

JQuery Cycle plugin - IE Transparency issue, who can help?

Hi, I am using the JQuery Cycle plugin to cycle threw a bunch of DIV's, each DIV represents a weddings dress, with a pic, description and accessories etc. All works fine in FF and Chrome, but in IE 6/7 there is a bug with the transparent .pngs. Each time the cycle switches DIV's a strange black fuzzy border is added to the pngs, this i...

how to hide complete tr on the button click through JQuery

hi, I have below HTML code <table class="innerGridTable" cellpadding="0" cellspacing="0" width="100%"> <tr id="trMain"> <td> <asp:Button ID="btnOrgReport" CssClass="Button" runat="server" Text="Organisation Reports" /> </td> <td> <asp:Button ID="btnCPUserReport" CssClass="Button" runat="server" Text="User...

jquery autocomplete extraParams

hello, Im using jquery autocomplete can I pass extraParams to webservice in asp.net ? and how will my [WebMethod] get it ? ...

Combining MicrosoftMvcJQueryValidation and Ajax Submit

Hi all, I'm having troubles trying to apply MS JQuery Validation in my forms where I want to submit data via an Ajax call. I am using DataAnnotations and MicrosoftMvcJQueryValidation.js library to perform client-side and server-side validation. Server validation works great and I'm trying to enable Client validation by mean of <% Htm...

jQuery $('div').html() - function problem

This code should not generate any HTML button dynamically. Coz there is no div in the <html></html> section. But it is generating one. Why? <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="HtmlReWriting.aspx.cs" Inherits="JQuery_Intellisence_Test.HtmlReWriting" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN...

Cant figure out how to return the callback function - need alternative solution

Hi there. Im trying to return a callback value after the data is loaded, Im probably looking at this all wrong. var loadFromDatabase = function(callback){ if (!obj.data.myarray) { // the problem is here, the jquery obj returns the ajax request obj return $.getJSON('http://validjson',function(data){ obj.data.my...

javascript jquery file opener

Hi all, i was wondering if anyone knew a quick solution to my problem. I want to be able to open a folder on users screen pretty much the same as but just opening up the my computer folder so a user can drag a file onto the browser screen. anyone know how? ...

jQuery activate a mouseover function only if the mouse holds on the element

Hi, I would like to activate a .mouseover function only if the mouse lays down on the "trigger" element for a predetermined duration (e.g. 500 milliseconds). E.g. $('.featured').mouseover(function () { $('.feat-txt').fadeOut("fast"); }); Only if the mouse is positioned over the .featured element for at least 500 milliseconds...

open a modal popup from another modalpopup is possible?

I want to open a modalpopup from another modalpopup.Is it possible in Jquery? ...

JavaScript: Show / Hide <DIV> based on URL string

Hi, I need to show a DIV on two pages (URL's) but not on the others. (I have jQuery on the pages if that helps.). I'm a complete noob so all help is very much appreciate. Thank's! Case (1) where I want to show the DIV: On the start page, when the web browser address field reads 'www.mydomin.com' The start page is PHP so I guess the f...

Is it posible to save direction in jCarousel (autoplay) plugin?

Currently in jCarousel auto play example , when you click the next or previous button it will continue to its current state, (scroll from right to left). what i want is, is it possible when you click next it will save its direction (scrolling from left to right). ...

jquery autocomplete results

hello, I have a webservice [Serializable] public class DataObject { public int ID { get; set; } public string Description { get; set; } } [WebMethod] public DataObject[] GetCities(string q, int limit) { // A collection to hold our results List<DataObject> customers = new List<Da...

Best non-flash upload component for web applications?

Hi, I would like recommendations for upload scripts/components. My criteria: No flash Plain Javascript ok, jquery ok Must provide progress bar (updated from for instance ajax call). Probably isn't relevant, but I use ASP.NET MVC on server side. Thanks UPDATE Yes, I know there will need to be a server side component to this, but I...

Advance grouping of List Items - Jquery

I have a list like <ul> <li> hgh55jjj </li> <li> abc99xyz </li> <li> hgf88hjk </li> <li> ........ </li> <li> ........ </li> <li> def99bnb </li> <li> gjj77hkj </li> <li> hgh55fhj </li> </ul> I want this to be formatted to a grouped list based on the two digits inside the text in such a way that all 99 items come together. And I also w...

Is the rel attribute usage compatible with all browsers and tags

Just to be sure it can be safely used with JQuery scripting. ...

Tablesorter example not working

This should work: <head> <title>Damn</title> <script src="jquery-latest.js" type="text/javascript"/> <script src="jquery.tablesorter.min.js" type="text/javascript"/> <script type="text/javascript"> $(document).ready(function() { $("#tablesorter-demo").tablesorter(); }); </script> </head> <body> <table id="tablesorter-demo" c...

jQuery Slide + events

Hi there, I'm developing a page that will present the user with a content slider, so that the user can click 'next' to browse through the slides. However, I also want to hide any 'previous' buttons/links and additionally, when the user reaches the last slide in the list the 'next' button needs to be replaced with a different button and...

jQuery plugin with its own API

Hello, I am writing my first jQuery plugin and I want to be able to do this: var myPluginVar = $("someElement").myPlugin(); myPluginVar.customFunctionCallWithinPlugin(); Any idea how to go about it? EDIT Please visit http://flowplayer.org/tools/using.html#api to see what i mean ...

How do I detect a postback in jQuery.

I have a form that I pre-populate with test data though jQuery. $('INPUT[name=subscription.FirstName]').val('Jef'); but I only want to do this before submit. What is the best way to test this? ...

jQuery DatePicker not working on newly added row

Hello there, I've got a gridview that renders as a table. I have an "Add" button and clicking on that, it will create a new row in the table. The row creation is done using "clone(true)" method in jQuery. The cloned row is a dummy row which is hidden in the gridview. I've assigned jQuery DatePicker for a TextBox. It works fine for the e...