jquery

deep linking in Excel sheets exported to html

hello everybody, I am working on a project where I must export to html a lot of Excel files. This is pretty straightforward using automation and saving as html. The problem is that many of these sheets have links to worksheets of some other files. I must find a way to write a link to a single inner worksheet. When you export a multi...

left click + hold = add checkbox

html <button>a</button> <div class="headerer"> <p>visit <a href="http://reigel-codes.co.cc"&gt;reigel-codes.co.cc&lt;/a&gt;&lt;/p&gt; </div> problem how can I add checkbox after <button> by pressing and hold left click ?.. then stop adding when left click is release... I have tried so far, $(document).ready(function(){ ...

jquery .live() click multiple times

Hi, I am trying to make a script that updates the captcha image, that is loaded through live() function... It works, but it only updates the image 1 time on firefox, 2 times on safari... How can I make this to work multiple times? jquery 1.4.2 relevant part of code: /* captcha image change */ var rand = Math.random(); $('a.captcha_r...

Call PHP Function in jQuery (var)

Hello, I'm facing a small problem that I can't solve by myself. I have this php function: function intervalo_manha(){ $que="select id_intervalo,data_15 from intervalo_manha order by id_intervalo"; $re=mysql_query($que); $object.="<select>"; $object.="<option></option>"; while(list($i...

jQuery finding 'nth-child' value

Hi, I have a ul set up as navigation, which I'll be animating on hover. As all the nav items are different widths, I'll be storing their default widths in an Array, so that on hover out, these widths can be passed back in to the animate method. What I need is a way to find what 'nth-child' the element is in order to retrieve the corre...

JQuery username validation - Ajax call

Hi, I am currently using JQuery's validation plugin for basic form validation such as required fields. I want to add functionality so that when the user types in the username field, an ajax call is triggered to check whether the username is already taken. My requirements are: Preferably integrate with JQuery Validation plugin, rathe...

asp.net MVC Partial Views how to initialise javascript

Hi, I have an edit form that uses an ajax form to submit to the controller. Depending on the data submitted I redirect the user to one of two pages (by returning a partial view). Both pages rely on javascript/jquery and neither use anything common between the pages. What is the best way to initialise these javascripts on each page? I k...

textbox auto resize in jquery

how can i make auto resize a textbox with the help of jquery ...

Richfaces - <rich:Editor> inside jQuery ui dialog

I use a <rich:editor> inside a JQuery UI dialog: <div id="helpDialog" style="display: none" title="#{messages.help}"> <rich:editor id="helpTextArea" theme="advanced" value="#{helpUtils.test(helpId)}"> <f:param name="theme_advanced_buttons1" value="bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright...

Jquery load into div on toggle

Not sure if this is possible but can you load and unload into a div on a jquery toggle? something a bit like this? $("#IDOFCLICK").live('click',function(){ $(this).toggleClass("active").('#IDOFDIVTOLOAD').load('PAAGETOLOAD').slideToggle("slow"); }); if you can I guess the above is not right, but, how would you also unload on the "rev...

How to get id of element in jquery dynamically

i have code like this function slideelement(element1) { $("#"+element1).slidein(); } it is not working ...

jQuery error when aborting an ajax call only in Internet Explorer

When mousing over an image in a jcarousel, my site displays a popup whose contents are loaded via ajax. I'm doing what I thought was fairly straightforward; keeping a handle to the xhrRequest object, and aborting the existing one before making a new request. It works great in all browsers except IE, where I receive an error "Object doe...

TextBox Auto Expandable

how can i make textbox auto expandable when i insert the text ...

Qtip is not working for me?

This is my coding for Qtip.But it wont be work .I dont know why? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Qtip</title> <scr...

Updating label using jquery and code behind

Hi, I have a label on a page and I'm updating the text property of the label (with a calculated value) when text is changed in a textbox. I'm updating the label like so: $myLabel.text("123"); The text is being displayed correctly on the screen butwhen I try to save the text value to an object in the code behind (When I press a butto...

Json, Timer, Ajax, What is faster (for shared Chronometer) ?

Hi everybody, I'm developing an application using ASP.Net. For first the idea: "My WebApp needs an chronometerto be shared by users and all users will se the same value in cronometer. When a user clicks on a button, the cronometer needs to be restarted and all users will need to see that!" All right, now I'd like to know what's the ...

jquery datatable.min.js sorting issue?

In my project, i am using the jquery pagination of jquery.dataTables.min.js. In that when i use ascending or descending in query, it will not displayed properly. The problem is result can be shown in form of : Sl. No. 1 10 11 12 13 | | | 19 2 3 4 5 like this, But i need the result Sl. No. 1 2 3 4 5 | | 9 10 11 12 13 This is beca...

jquery script that used to work is not working with jquery 1.4.2

... and i cant figure out why. The script is following: <script type="text/javascript" src="http://path/to/js/jquery-1.4.2.min.js"&gt;&lt;/script&gt; <script type="text/javascript"> function openMediaPlayer() { $('#flashMovie').animate({'height':'333px'}); } function closeMediaPlayer(...

What is the equivalent of .hide() that keeps the place in the layout ?

When using .hide(), the element is no more participating in the layout of the page. But what if I want to keep its place, i.e I don't want other elements to move because this one is hidden now. How could I do this ? ...

How to flush the cache of the auto complete in jquery

How to flush the cache of the autocomplete in jquery? ...