[jQuery] "$ is not defined" error
I get this error in the Firefox error console: "$ is not defined". it points me to line $("div#respond>h3").html("Reply to"); I'm sure I've set jQuery properly because it works fine in other browsers and the other jQuery effects I use can work in Firefox. Only this part does not work. Actually, it works on my local test computer, but if I upload the same file to the server, this part gets this error. I can't understand why. If you need an example, it's <a href="http://myfairland.net/mizong/ #comments">http://myfairland.net/mizong/#comments</a>.
[jQuery] human interest in face
More of the interest in money ******************************** http://www.freewebs.com/williamsz/ ********************************
[jQuery] focus
FOCUS IS COMPUTING http://www.freewebs.com/focusing/ @@@@@@@@@@@@@@@@@@@@@@@@@@@ http://groups.google.co.in/group/jquery-en?hl=en&lnk= @@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[jQuery] human interest in face
More of the interest in money ******************************** http://www.freewebs.com/williamsz/ ********************************
[jQuery] human interest in face
More of the interest in money ******************************** http://www.freewebs.com/williamsz/ ********************************
How to make text clickable without a hash tag?
I'm very very new so.... I am trying to make an anchor or button using text to trigger a show hide event. Is there away to make text clickable and still trigger an event without including a hash tag in the anchors href="#" resulting in a hash tag at the end of the url? html: <!--list with the event trigger--> <ul> <li><a href="http://blahblah.com/prev"></a></li> <!--trigger below--> <li><a href="#" id="doBlind"></a></li> <li><a href="http://blahblah.com/next"></a></li> </ul> <!--crap to show and
[jQuery] Will this code validate a number?
I'm running this code to validate that an entry into any field with a class of "number" is a number after all $,. are disregarded. I'm not getting any response on my page on blur for the field. Is there something wrong with this code? Thanks, Rick $(':input.number').each(function() { $(this).blur(function() { if ( isNaN (this.value.replace ( /[\$\,\./,""]))) { $('#' + this.id + '_number_error').fadeIn(500); $('#submit').attr('disabled', 'disabled'); } else { $('#'
Search function with AJAX
Hey guys, Just over the past week i've been looking into jQuery. I can handle like the most basic of things, removing a div marked with id, adding an effect and a few plugins etc. So there is a small script i'm working on. You type in some search terms. You click submit. JQuery looks for the submit action and slides out a div with content and then removes it entirely. It then adds a load icon with an id attached, it then fades out the load icon. It then goes onto to show a div (the one that was slid
[jQuery] Adding an onClick funtion to existing working menu - need 2 or 3 things to unload/load
Hi All... Really sorry to be going over this again. It's been one solid week all day and night. I know more, though not enough yet. Hope this is easy to understand. I REALLY need help. I've tried 100's of things all thru new years eve and day as well. hehehe WORKING menu must stay working though I seem to be able to add anything to each <li> and it still works. SO what code should I add to get a bunch of hidden divs to TOTALLY load and unload IN the same spot? I won't post a bunch of JQuery script
[jQuery] change()
Hello all, a little new the js and jquery any help would be fantastic... I have this in my linked myFx.js file: $(document).ready(function() { var selected_type = $('select#campaign_type_select'); var coupon_div = $('#campaign_create_coupon'); var broadcast_div = $('#campaign_create_broadcast'); var contest_div = $('#campaign_create_contest'); // alert(selected_type.val()); << I CAN GET THIS TO FIRE WHEN UNCOMMENTED, and it returns the the value coupon as i would expect. BUT THIS ISNT WORKING ive
[jQuery] setInterval(obj.method,200) problem: scoping?
Hello mates, i have an object datascape which among other things, contains a property storing the mouse position, and a function that uses that property. Inside another method i var datascape = { 'mouseX': 0, 'myInterval': 0, 'create': function(){ $('#datascape').bind('mousemove', function(e) { this.mouseX = e.pageX; }).bind("mouseover", function() { this.myInterval = setInterval(this.move, 200); }).bind("mouseout", function() { clearInterval(this.myInterval); }); }, 'move': function(){ $.log('datascape.move
[jQuery] How to set the HTML background
I want to be able to change the background of the page, I can successfully do $(document.body).css("background", "yellow"); but I have two separate css backgrounds, one sets the body tag and one sets the html tag. So how do I set the html tags background I've tried $(document.html).css("background", "yellow"); but it won't work :/ -- View this message in context: http://www.nabble.com/How-to-set-the-HTML-background-tp21252706s27240p21252706.html Sent from the jQuery General Discussion mailing list
[jQuery] jQuery Validate plugin with cake php form won't submit
I am using the jQuery Validate plugin with a form in cakePHP. When I click submit the form is validated but not submitted to the server. When I change the form name From user to user1 it submits properly so it seems that once the form is bound to the javascript it stops submitting the data. any thoughts on how I could get this to work?
[jQuery] How can I call a function if I have that function name stored in a string?
Something like this var func = 'myFunc'; Can I call the function like this for example: $.fn.myplugin.(func)(); (I'm using this in a plugin I'm working on) Thank you very much
[jQuery] Event callback question
Hey, function closeMainPanels(){ jQuery("div.mainLiner div.panel").each(function(){ jQuery(this).slideUp(750); }); } How can I tell when all panels have finished animation? As I need to call another function when all have finished. Cheers, Cam
[jQuery] is it possible to get result of this
Hi I am trying to do something with Jquery and Ajax But I am not sure that its possible or not. its my example, you can see what I am trying to do. http://www.unikhas.org/design/index.jsp I want to save all the things after I desing my tshirt. Is it possible to do that in Jquery or Ajax ? or should I use other technologies? thank you very much..
[jQuery] Adding to a group of Radio buttons
These are the radio buttons on my form <input name="make" type="radio" value="Honda" id="radio-a"> Honda <input name="make" type="radio" value="Toyota" id="radio-b"> Toyota <input name="make" type="radio" value="Mazda" id="radio-c"> Mazda Using jquery how can I add another selection to the list? Something like $label.append('<input name="make" type="radio" value="Ford" id="radio- d"> Ford'); ? I can't figure out the syntax. Any help please. Thanks
[jQuery] Submit not propagating.
Hi all, I have a submit button, and a function tied to it via $('form').submit (function() { ... }); When the button is clicked, this function gets executed, and the data gets sent to the server. However, I also call this function via a context menu option (i.e., $('form').submit()). Again, the function gets executed, but the data does not get sent to the server. I added "return true;" as the last line of the submit function, but that didn't seem to help. Running the code through Firebug, I noticed
[jQuery] jcarousel & jquery-1.1.3.1.pack
Hi! I'm working on a website, & I need to get the jcarousel (http:// sorgalla.com/jcarousel/) work with jquery 1.1.3.1 but it simply won't. The main carousel application uses jquery 1.2.3 Does it mean that it won't work on an earlier version? Was it major syntax changes between 1.1.3.1 & 1.2.3? Thanks for your support. Adame
[jQuery] firebug regression: console.log($('div')) less useful
Has anyone else noticed that Firebug before 1.2 would treat console.log ($('div')) as an array and list all the matched elements on the console, so you could mouse over the list and highlight the elements, or right-click and scroll into view etc., but now it just lists "Object length=13" and you need to click on that, then you get a vertical list that you need to scroll through. The old way was more helpful, I think. John Resig, you're the Mozilla Firebug person as well as the jQuery Man; can this
[jQuery] jQuery UI Tabs (Selected tab item)
Hi all! Currently I haven't coded JS, so I don't know how to solve my problem. So, I'm using jQuery UI Tabs (http://stilbuero.de/jquery/tabs_3/) and I encountered with problem. I need to get an ID or something else of currently selected tab and send it to PHP. The code is: <script src="../tabs/jquery-1.1.3.1.pack.js" type="text/javascript"></ script> <script src="../tabs/jquery.history_remote.pack.js" type="text/ javascript"></script> <script src="../tabs/jquery.tabs.pack.js" type="text/ javascript"></script>
Avoid delay in tooltip
Hi, I am showing a tooltip in my <DIV>. while clicking on the <DIV> i am changing the tooltip. Its working fine. The probem is that it takes some 3 to 4 seconds delay in displaying the tooltip. Can you plz give me a workaround for this 1... Best Rgds Ratheesh
[jQuery] Form manipulation - Advanced
I'm new to jquery but I have no idea how to do this. Any help would be greatly appreciated and would lead down the correct path. Thank you in advance. There's 2 sections in my form. 1) Vehicle Makes Basically, I want the user to be able to enter their make if it's not in the list. Once the user enters their make I would like it displayed right under the list. ( would be great if user can delete the make they just entered ) 2) Vehicle Features Basically, I want the user to be able to enter a feature
[jQuery] Live Search
Hello Sometimes I hav problems with exscale.se's live search tool. When I integrate it to my site IE7 cannot load the webpage with the live search tool? Does someone have a clue or an other livesearch Tool? Greetings Simon
[jQuery] form plugin and blockUI problems in IE7 with the ui not unblocking
I'm using the form plugin and the most recent version of blockUI. Here's my form initialization area: $(document).ready(function() { var options = { target: '#search_results', // target element(s) to be updated with server response beforeSubmit: showRequest, // pre-submit callback success: showResponse // post-submit callback }; // bind to the form's submit event $('#search_form').submit(function() { $.blockUI();
[jQuery] Where is syntax error ?
Hi! I want to reuse examples of http://www.webdesignerwall.com/tutorials/jquery-tutorials-for-designers/ for an accordion. Here is Html code: <div class="accordion"> <ul> <li> <h3>Question One Sample Text</h3> <ul> <li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi malesuada, ante at feugiat tincidunt, enim massa gravida metus, commodo lacinia massa diam vel eros. Proin eget urna. Nunc fringilla neque vitae odio. Vivamus vitae ligula.</li> </ul> </li> <li> <h3>This
[jQuery] Change the date format of jquery calendar
Hi all i have one jquery calendar $('selector').datePicker(); which is giving me in dd/mm/yyyy i want to change this format to yyyy-mm-dd i tried with $.datePicker.setDateFormat('ymd','-'); error: $.datePicker is undefined and tried with this code $("#sd").datepicker.setDateFormat('ymd','-'); error: $("#sd").datepicker.setDateFormat is not a function
[jQuery] Window.Open code
I am trying to write a code for window.open in jQuery. here is my code: OpenNewWindow = function(strURL, winName, options) { this._settings = $.extend({ toolbar: no, location: no, directories: no, status: no, menubar: no, scrollbars: no, resizable: yes, width: 100, height: 100 }, options || {}); I am now stuck at the below line. Whether I shouyld write as: window.open(strURL, winName, this._settings); or have I to include
[jQuery] .html() only works on original source?
Hi all, I'm trying to save the content of a form into a hidden div, so I can bring it back later. However, I also want to save the user's progress on the form. I thought I could just dump $('#form').html() into the hidden div, but this seems to only remember the original html, no new value attributes exist even after I've entered some text. I tested with something like this: $('body').find(':input').each( function() { alert($(this).attr('name')+": "+$(this).val()+",
[jQuery] parsing xml
I'm new to jquery and I'm trying to do a simple xml parse. When I use the .each() to get the tags, if there is more than one tag in the file, nothing more in the script gets processed. In the code below, you'll see two alerts. If I comment out the .each() line I get both alerts. If I leave it in, only the first appears and I never see any alerts from the .each() statement. Can anyone tell me what's wrong? Here's the code: -------------------------------------------------------------------------------------
[jQuery] jQuery 1.3b1 and the Galleria Plug-In
Has anyone had any problems with Galleria and jQuery 1.3b1? Galleria seems to be incompatible with 1.3B1. I'll try to dig into later and see what I come up with...
[SOLVED] problem submitting ajax form when multiple forms
I have a page with a list, and each list contains a form with a different ID. I want to be able to submit each form using ajax. When I put the exact form ID in the jquery code, everything works fine. But when I try to dynamically create the ID depending on which form the user clicks, then the form submits, but now with the ajax functionality. here's the javascript: $(function() { $(".button").click(function(){ current_id = $(this).attr('id'); formname = "#form"+current_id; alert(formname); $(formname).trigger('submit');
[jQuery] Noob Q. Can't get jQuery working
Ok, this is a noob questions. I'm using Wordpress and have the following code. In the header I add: <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/ js/jquery-1.2.6.js"></script> <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/ js/test.js"></script> The test javascript contains: $(document).ready(function() { $("a").click(function() { alert("Hello world!"); }); }); function msg(txt) { alert(txt); } In my test php file I have: <a href="#"> test A </a>
addClass removeClass problem
Hi I tried to "convert" a script code into jquery, but there is still a small problem. what the script should do: As generally known the ie7 does not support css hover effects, so the script adds a class to generate the hover effect. My problem: When I use the jquery code and move from one <li> tag to the next there is a little hesitate (a small blink). The "orginal" java code works fluently without a hesitate. I guess there is a problem with adding and removing a classname but I dont know how to
[jQuery] How to make a layout work with firefox and IE and look the same?
Question is in the subject. I notice with jquery and also css, that the position is different on different internet browsers. I seek a solution that would make one layout to be the same with all browsers or at least the popular used ones. like firefox or IE. I want a solution that would make the position system and jquery be able to be viewed the same with any browser. Currently I notice that jquery looks fine in firefox since I am using firefox when making my website. I notice that in IE that the
[jQuery] Avoiding "Find"
Hi guys, here is my case: I have a JQuery object named ObjectMaster representing html contents, inside this object there is a TD with id=FirstName that I want to populate its text, is there a way to reach FirstName tag from its parent (ObjectMaster) WITHOUT using: $(ObjectMaster).find('#FirstName').text("new text") Someone might say why not populating FirstName directly? I can't do that since I have other "ObjectMaster"s containing identical TD with the same FirstName id, so I have to reach each
[jQuery] Hover and fade in and out jquery code....
HI, I am making a website kinda like a social networkng site. I am trying to make a hover effect when the mouse is over the users image I want to pop up a image menu like upload image and edit image etc. I so far do have the codes working. The problem I face is... when the user puts the mouse over his image a menu pops up not into a new window but like a image is viewable which is supposed to happen. So if your mouse dosen't go over the image meaning the new popup menu then the menu stays at that
[jQuery] Getting started with AJAX/Database multiple items per page
Hi All, I am new to jQuery, and I'm unsure where to get started with what I am working on. I've read AJAX tutorials but most deal with only 1 element per page. Here is what I want to accomplish. I've got a page which pulls records from a database and displays them all on one page. There is a field in the database (either a 0 or 1) which represents approved (0) or not approved (1). There is a link next to each item that says "i approve" or "i do not approve", and I want the user to click this, have
[jQuery] Superfish - Wordpress Multiple PathClass ???
Wordpress broke my configuration with the Nav-Bar by adding .current_page_parent and .current_page_ancestor to just the .current_page_item css classes. This is great, however it has broken my superfish navbar where it won't show the second level list when you choose a link in the second level, the original <li class="current_page_item"> changes to <li class="current_page_parent">. Thus, if I configure Superfish pathClass to "current_page_item", both level lists will only show when the first level
sample css for datepicker
Hello, is there somewhere a sample css file for the functions. I tried today datepicker. But I coud'nt find any cssa file. Thanks!
Next Page