jquery

Pre-requisites for JQuery.

I am using Aptana Studio 1.5 for PHP development. I want to use a JQuery plug-in. I want to know whether there are any pre-requisites for using JQuery or is it same as JavaScript? ...

jquery live search from mysql database?

hi. in SO you can search for tags without pressing enter. i want to know: are the tags retrieved from the database or from a XML file? is ajax involved? i am new at front end. if ajax is involved. how should i write the code? i want it to access a php file which returns the data. but im not familiar with how it works practically. ...

jQuery ajax post not calling method in my controller

I have a list of tasks that I allow a user to sort, currently I am working on the dragging/dropping from one container to the other. While the dragging/dropping works, I can't get the jQuery post to fire. Not sure what's going on here. Here is what I am currently working with for my jQuery: <script type="text/javascript"> $(func...

Passing mouse clicks through an overlaying element <div>

Is it possible to pass mouse clicks through an overlaying element: - <div style="z-index: 100; background: url('../images/rain.24.png'); width: 100%; height: 100%; top: 0; bottom: 0; left: 0; right: 0;">&nbsp;</div> ...pass mouse clicks beneath it to underlaying elements (e.g. a web page with images, links, etc)? Thinking of another ...

Open Links in Multiple Browser Windows / Tabs

Hi, I have a requirement to click on multiple links (selecting them) and then click a button that will open all selected links in new windows or tabs. This will of course be dependent upon the browser behaviour. My plan is to use Javascript to add the selected links to an array and then upon clicking the submit button, the javascript w...

Display image outside <div> where overflow:hidden?

I'm using Ganesh's very wonderful jCarouselLite jQuery plugin to display a scrolling series of thumbnail images at the top of a page. The container div necessarily has overflow:hidden to limit the number of thumbnails displayed at any one time. I would like to display a larger version of the thumbnail when the mouse hovers over it. I'm m...

is there any script which can stop to show ALT="text" as a tooltip in IE 6 and 7?

is there any script which can stop to show ALT="text" as a tooltip in IE 6 and 7? ...

Not able to display an image in datalist control using lightbox script[jQuery]

hi. i am trying to display an thumbnail image in datalist control which is working fine but once i click the image instead of showing the pop up in front of the page. it is showing behind the datalist control i have downloaded lightbox script added all the references ans css what is wrong going on here here i am refernce F...

How can i get Ajax to work with coldfusion using the Facebook FBML api?

I am trying to make a facebook FMBL application for a client, not iframe or FAcebook connect app. I am having trouble using CF PROXY and Jquery for my synchronous data connections. I know how to use it for typical web pages but the Facebook version is incredibly difficult to work with. I understand that Jquery cannot be used but what ab...

bug when prototype and jQuery are both loaded

I have function in Javascript which works fine using prototype. The function is used to dynamicaly change a select field based on the selection of another field. var sizes_286 = new Array(); sizes_286.push(new Array(536, 'Pequeno', 1661)); sizes_286.push(new Array(536, 'Médio', 1662)); sizes_286.push(new Array(536, 'Grande', 16...

Resizing an image

The code below works very well for resizing an image by aspect ratio by height and I can also create a separate function by width. But i'm not always sure if an image will need to be shrunk by height or width. For example if the space that the image needs to be resized into is 100 width and 100 height and an image is 150 by 90 then its...

JQuery/MVC Search Issue

Hi All. This is not easy to explain so please bare with me. I have inherited a piece of work where the entry screen shows a summary of 20 calculated variables. E.g. Var A (250), Var B (79). Clicking on any of these links takes the user to a view with a list of fields - all 20 use the same controller but with a different GET for e...

Lavalamp Jquery, Hightlighted option

Hello, How can i make it so when the user clicks an option in my lavalamp menu the permanent "highlight" is transfered to this link, i.e like a standard menu bar when a user is browsing a site. Sorry im not quite brilliant at explaining please tell me if you require more information ...

jquery object inside an object literal

i am trying not to repeat the selector and get to its children via a the same objects parentElment declared variable. I tried: testimonialsBelt={ parentElment:$(".testimonialsCntnr ul"), childrenElem:this.parentElment.children().length } I also tried: testimonialsBelt={ parentElment:$(".testimonialsCntnr ul"), childrenElem:$("te...

jQTouch for iPhone - Quick Troubleshoot?

Could someone with knowledge of jQTouch for the iPhone have a quick look at my source and let me know what the heck I'm doing wrong? Clicking the big green buttons is supposed to reveal that particular section. http://designsnack.com/mobile/ ...

JQuery Slide Event and Div Height not changing as expected

I am working with JQuery and I'm trying to change the html of a div box when the child div slides in and out. My problem is that the code below isn't changing the html value of #menu_text. It only displays Hide Menu and is not detecting the real height as changed by slideToggle. $('#menu').click(function () { $('#menu_links').slideTo...

what is attr 'gtbfieldid' and how to avoid autocomplete behavior ?

Hi, I have this simple form: class PagoDesde(forms.Form): from django import forms as f desde = f.DateField(input_formats=['%d/%m/%Y']) In my template: {{ form.desde }} And has associated a jqueryui.datepicker in the document.ready $("#id_desde").datepicker(); The html result is: <input type="text" id="id_desde"...

Handling of server-side HTTP 4nn/5nn errors in jQuery's ajax requests

To the point: how would you handle a server-side HTTP 4nn/5nn errors in jQuery's ajax requests? This case concerns a JSP/Servlet webapplication at the server side. Here I am not talking about trivial runtime exceptions such as NullPointerException and so on. Assume that they're all handled perfectly. A good example of such a HTTP 4nn/5nn...

Keypress in jQuery: Press TAB inside TEXTAREA (when editing an existing text)

I want to insert TAB characters inside a TEXTAREA, like this: <textarea>{KEYPRESS-INSERTS-TAB-HERE}Hello World</textarea> I can insert before/after the existing TEXTAREA text - and I can insert / replace all text in the TEXTAREA - but have not yet been able to insert inside the existing TEXTAREA text (by the cursor) in a simple way. ...

jquery tolls list with overlay & scrollable list .. issues..

hi there i'm relatively new to jquery, but i wanted to see if anyone could provide me with any insight on this. what i've got here is an autoscrolling list, with overlay functionality.. http://www.freestylemovement.com/secret/3.html what i'm trying to achieve is a scrollable function like in this example, except i like using the lis...