jquery

The new jQuery Templates from Microsoft and SEO

Scott Guthrie just blogged about the new jQuery Templates that his team has been working on, and I must say... this looks really sweet. I have a multi-part question however, where the answer will influence my decision to use them. I'm currently working on a project whereby the home page displays a list of upcoming events in your region....

Getting elements created by Livequery

I'm doing a table using the plugin livequery function soroRow(numSoro){ if(numSoro % 2 == 0) var cRow = 'even'; else var cRow = 'odd'; var content = ($('<tr>') .addClass(cRow) .attr('id', 'soro_'+numSoro) .append($('<td />').appendText(numSoro+'')) .append($('<td />') .append($('<select...

Jquery $.post array (again...)

So, somewhat standard situation: OK, so replacing <div> with <form> works. Now to see if any nesting issues occur... <div id=hidden> <input type=hidden value=2 id=i1 name=i1> <input type=hidden value=5 id=i2 name=i2> <input type=hidden value=6 id=i3 name=i3> <input type=hidden value=1 id=i4 name=i4> <input type...

Jquery: how to release all event handlers, dom changes ?

Is there a way to reset the current page ? free all event handlers, remove any CSS toggled by Jquery, in simpler words, restoring the page to the original state without refreshing ? ...

how to ajax post an image to a C# web method with jquery

Possible Duplicate: How can I upload files asynchronously with JQuery? I have a file upload field, after the image was selected, i make a jquery ajax post to an aspx page's page method. My question is, how can I pass that image via jquery? When I do $(this).val() it only gets the file name. I want to pass the image object itse...

jQuery Autocomplete textbox in asp.net like Outlook "To:" box

Hi, I have created a email form using jQuery AutoComplete. Some thing like this one: http://www.dotnetcurry.com/ShowArticle.aspx?ID=515 but I can't figure out how to allow users to select more then one items and append to the $("[id$='txtTo']").val(users); ... similar to outlook i.e [email protected];[email protected];ghi@yourdomain....

Access Denied error jQuery .load

I have a page that loads a div from another page on successful submission of a form. It works in all browsers except IE 7 and 8 where I get the following error: Here is the error code: Error: Access Denied my code: $("#formTwo").validate({ groups: { asset: "trade_futures trade_fx trade_equities" }, errorElement: "em",...

jQuery - Click on X, grab the NAME, then use that to show a related element

Here's what's happening. My page loads. Then jQuery loads a feed which is injected into a contentCol div... in that feed is: <a href="" name="storyItemComments_66" class="commentWrite">Comment</a> There is also: <div class="storyItemComments" id="storyItemComments_66" style="display:none;">.... For some reason this is not working...

PNG backgrounds disappear in IE when using Jquery slides and fades

I've got a simple Jquery script to slide part of my header, however in IE, when I process the slide and fades, all PNG backgrounds (they are set in CSS) disappear. Please note that this script has been written inside of PHP hence all the slashes and marks :). <script type=\"text/javascript\"> $(document).ready(function(){ ...

How to open a JQ dialogue box on submit event?

I have a search field. I want to show the results in a dialogue box. The search field doesn't have any button. So, what event i should call to open the dialogue box after pressing enter. Any suggestions! Update For the whole project, its all HTML, JavaScript & Jquery in client side, Java is in back. What i want to know is, under which...

How to fix mouse moving (Drag & Drop)

How to fix mouse moving, to a pointer was always located on the middle of an element and worked synchronously? Please see my full example like this example ...

On mouse over show information.

I have a list of items like here in stackoverflow list of question. For every item's owner name is a link clicking on which it navigates to the the profile page(like in stackoverflow also). But my current requirement is that on mouse over the link I have to show a popup(like in facebook) with some information of that person. So how do th...

Jquery validation messages from xml

I am using Jquery valdiation plugin for validating the form at client side. I am fetching validation error messages from an xml file. $("#"+form).validate({ errorLabelContainer: "#dialogError", //msg_error wrapper: "li", rules: { txtInfringementID: { ...

anyone recommend a jquery gallery with an image navigation bar that is PNG compatible for IE6+?

title says it all... features that I'm wanting are: MUST be PNG IE6+ compatible, for both viewing of PNG-24s AND fading them in and out utilizing jquery cycles... fade out image, then fade in next image after click corresponding images for each picture that are independent of the banners in their own div separate from the main display...

how to make page up link

how to make page up link i have to make link in my site when user click it shows a top view of site "i mean it goes to header of my site" ...

jQuery hoverIntent iteration problem with multiple li's

hello, I'm using hoverIntent to fire onMouseOver and onMouseOut events it works for one of my li, actually it looks like it appends itself to only one li and as I hover other list items it displays the show() and hide() functions to the last list item. here is my code: <script> $(document).ready(function(){...

jeditable button styling

How do I style the buttons generated by jeditable? I am styling the textarea like.. .dynform textarea { width:450px; max-width: 2450px; height:200px; } where .dynform is the cssclass parameter to jeditable. But the button style don't seem to take effect. .dynform input[type=button] { border: 1px solid #dddddd; backgrou...

How can I update window.location.hash without jumping the document?

I have a sliding panel set up on my website. When it finished animating, I set the hash like so function() { window.location.hash = id; } (this is a callback, and the id is assigned earlier). This works good, to allow the user to bookmark the panel, and also for the non JavaScript version to work. However, when I update the hash...

Difference between $.ajax() and $.get() and $.load()

What is the difference between $.ajax() and $.get() and $.load(). which is better to use and in what conditions. ...

rails jQuery Accordion

How do you set up jQuery to work with rails. I specifically want to use the accordion feature. I have used this before with PHP but i cannot work out where everything needs to go in a rails application. I have imported jQuery into the javascript folder and included it in the application. My HTML is laid out correctly, but i don't under...