jquery

JQuery event not working on async postback, fixing on 2nd postback, breaking on 3rd

Here is a simplified version of my page: <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head runat="server"> <title></title> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"&gt;&lt;/script&gt; <script language="javascript" type="text/javascript"> var cbFuncInit = f...

Why aren't jQuery and cycle working in Wordpress?

Hi! I am really struggeling with this problem.. I want to have a slideshow of my featured post via cycle in my wordpress index.php, but well.. wordpress wont. First I enqueued cycle and my script in the header: <?php wp_enqueue_script('jquery.cycle.all.min', '/wp-content/themes/black1/js/jquery.cycle.all.min.js', array('jquery'));...

Does TinyMCE have usable content focus/blur events?

I want to be able to have default text like "Enter content here..." appear when the editor first loads, but I want this text to disappear when the user clicks/focuses on the content area. Then, if they "blur" (move out) of the content area without inputting anything, I want the "default text" to re-appear in the editor. After Googling a...

jquery bind event

html: <ul> <li><input type="submit" id="myId" value="someVal"/> </ul> jQuery $('ul').find('input[type="submit"]').click(function{ alert('nasty alert') $(this).attr('id','newId'); }); $('input#newId').click(function(){ $(this).hide(); }); ok, so my intention is to change the id after one click and th...

(Why) does jQuery make my slider look fat?

I'm teaching myself jQuery and starting on jquery-ui using a slider control. I have it hooked up and functionally it works well, setting some global page variables when I slide the handle. It does not, however, look like the slider on the jquery-ui demo page. It's a horizontal slider and I can control the length of the bar by settin...

Best way to start using jQuery in a Zend Framework 1.9 application?

I want to get started working with jQuery in my Zend Framework application but not sure which is the best way to get started. I know I could include the jQuery library just like any other javascript library, but what are the advantages of using ZendX_JQuery, and what are the steps necessary to start using it in my Zend Framework 1.9 appl...

jQuery Switch Case Plugin?

I know the switch case statement is inherent to javascript and you can't change it. I'm still learning javascript and jQuery so I can get by, but I don't know enough to write something that might be on the level of jQuery itself. So, take this as an idea or a question about if this idea is feasible. This is my idea, a switch case statem...

Jquery Tools Overlay

Hey guys, I've got a few quick questions. Here is the site: link text I am using Jquery Tools overlay as shown here. http://flowplayer.org/tools/demos/overlay/index.html When you click the image, the popup shows up fine. <img src="whatever.jpg" rel="#1" class="slideimg" alt="title" /> But whenever I try to use something else, say ...

autocomplete in jsp page

i want to extract data from the database rather local data while selecting value from the textarea. I used jquery-autocomplete. Please tell me the site which provide a auto complete feature just like stack overflow for the tags at the ask question page. ...

jquery scrollable displays all items

I am trying to create a basic list using jQuery scrollable, but I have a problem in that the entire list is being displayed - not a subset as supposedly defined by the 'size' parameter in scrollable(). I am testing in Chrome, and it does not detect any javascript errors. Futhermore, the list seems to be capturing the mousewheel when I h...

Does jQuery automatically remove attached even handlers from objects when I remove them?

Well my interest is whether jQuery does remove attached event handlers from the DOM object and all it's descendants (if they got some event handlers attached as well), if I just remove that DOM object with jQuery('.selector').remove()? ...

how do i submit data from HTML using jquery

The question might not be clear, so i will explain further. I saw some page like wordpress new post tag, they have something like [input] x tag | x tag | x tag or Facebook Notes when you post a image... the when you input a tag and press enter, a new tag is insert in to element in the page... I don't quite understand how can yo...

jquery drop down for selecting multiple values

Hi, i want to develop dropdown inside a check box . this url shows me how to do it. http://dropdown-check-list.googlecode.com/svn/trunk/demo.html but the code isnt given how to implement it in project. i need to bind my datatable to this dropdow. and once user selects a value and clicks on the button in .cs file i s...

jquery on click function

ok so basically I have this: <div id="tabs"> <div id="unique_id" class="tab_link" onclick="changeTab(this);"> <div id="tab_link_image" onclick="closeTab(this);"> <image src="image.jpg" /> </div> </div> </div> Now in the closeTab function I have it removing the tab from the page. In the changeTab function I have it toggling a ...

JQuery hover effect problem

Hi everyone , I have created a simple JQuery script with hovering effect on some links. The script works fine as you can see here : Test Sample ... (Please test it on any browser other than IE) But if i hover fast on the links, you will notice the image icons do not disappear as required. I have tried everything to fix this but i can't...

Scrollbar problem with jquery ui dialog in Chrome and Safari

I'm using the jquery ui dialog with modal=true. In Chrome and Safari, this disables scrolling via the scroll bar and cursor keys (scrolling with the mouse wheel and page up/down still works). This is a problem if the dialog is too tall to fit on one page - users on a laptop get frustrated. Someone raised this three months ago on the jq...

iterate through nested form elements in jquery

Hi! im sorry if this was posted already i have been looking to no avail.. I just want to know how to loop through nested form 'elements' (elements being not only the strict form elements like input tags but other html elements as well) in jquery. Currently i have this piece of code to do it: $('#'+arguments[i].formid).children().each(...

Jquery Post Data

Hi, I need to insert/update data by using link or image I need a code how to call post data using jquery ! < a href="some.asp" onClick="someaction, value to send" > Link Please help ...

Detect when mouse leaves via top of page with jquery

This Jquery problem has been bugging me for a while now. I developed a script, with one function detecting when the mouse leaves via the top of the page. Here is the code: $(document).bind("mouseleave", function(e) { console.log(e.pageY); if (e.pageY <= 1) { now = new Date(); for (i...

Keeping jquery/javascript separate from asp.net MVC views?

Hi there, I am trying to found it the best way to keep my scripting i.e. jquery/javascript separate from my view (html) in asp.net MVC... Does anyone have any idea the best way of doing this?? I am seeing alot of code smell in my views ... I have used in the past JavascriptMVC which does a really good job and maybe its a good idea ...