[jQuery] Re: Jquery suitable for advanced webapplication

2009-11-11 Thread Sn3b
Btw, you will want to read this as you start coding :) http://www.tvidesign.co.uk/blog/improve-your-jquery-25-excellent-tips.aspx

Re: [jQuery] $(function () {...}, iframe.contentDocument);

2009-11-11 Thread Michel Belleville
Perhaps not, considering jQuery.ready() isn't meant to be triggered when an underlying iframe added on-the-fly after the page completed is loaded. You may be interested in investigating iframe's "load" event instead. Michel Belleville 2009/11/12 Jack Bates > I want to register a function to ru

[jQuery] Re: 'Lazy' load()

2009-11-11 Thread GT
Hey there MorningZ, If the script in question was one that took more than a second or two to complete, I would certainly have kept banging away trying to get the callback to work. As far as the callback procedure for load() is concerned - this is what I had tried - function dotheFirst(z) {

[jQuery] Re: 'Lazy' load()

2009-11-11 Thread MorningZ
and to note "I had already nivestigated the various ways of using callbacks, but it seemed that the callback was instantiated before the content was actually traversible" is absolutely and positively not the case if coded properly On Nov 11, 10:02 pm, GT wrote: > Hey there Michel, > > I h

[jQuery] Re: 'Lazy' load()

2009-11-11 Thread MorningZ
Just be aware of the pitfalls of working synchornously. your code is going to totally lock up the user's browser while it makes the call and awaits it return. take it or leave it, but the general advice is avoid AJAX w/o the A if at all possible On Nov 11, 10:02 pm, GT wrote: > Hey ther

[jQuery] Re: 'Lazy' load()

2009-11-11 Thread GT
Hey there Michel, I had already nivestigated the various ways of using callbacks, but it seemed that the callback was instantiated before the content was actually traversible. The solution was actually on StackOverflow... at http://stackoverflow.com/questions/133310/how-can-i-get-jquery-to-perfor

[jQuery] session and ajax

2009-11-11 Thread Lord Gustavo Miguel Angel
Hi,. I have problem with code ajax and jquery when from code ajax call one source .php, the session (create in these source .php) no exist when return... can you help me? thank´s -- source ajax --- $(document).ready(function(){ $('#form1').ajaxForm({

[jQuery] Re: Instantiating a chart in a dynamically-added div

2009-11-11 Thread GT
The answer was simple - replace $("#summDiv").load("/includes/> StockFullSum.php", {ASXCode:z}); with $.ajax({ type: "POST", async: false, url: "/includes/ StockFullSum.php", data: "ASXCode=" + z, success: function

[jQuery] Superfish - Auto Arrows on sub menus only?

2009-11-11 Thread discern
Anyone know of a quick way to apply auto arrows to ONLY the sub menus, while leaving the top-level list items sans-arrow?

[jQuery] Re: SUPERFISH - drop-downs sticking open in Safari

2009-11-11 Thread discern
Problem solved. Apparently, Safari handles position: static differently than other browsers, including other webkit browsers. I had the following CSS to prevent *this exact problem* in IE7: #nav li:hover,#nav li.sfHover { position: static; } When I removed it, the sticky menus vanished from Safa

[jQuery] Re: jQuery form plugin and document.domain failure

2009-11-11 Thread Dave Methvin
.ajaxForm uses $.ajax, which uses XMLHttpRequest. There are some issues with the way xhr interacts with document.domain, independent of jQuery. http://fettig.net/weblog/2005/11/28/how-to-make-xmlhttprequest-connections-to-another-server-in-your-domain/

[jQuery] $(function () {...}, iframe.contentDocument);

2009-11-11 Thread Jack Bates
I want to register a function to run when an iframe finishes loading, or immediately if it's already loaded To achieve this, I tried, $(function () { var iframe = $('').appendTo('body')[0]; $(function () { $('READY!').appendTo('body'); }, iframe.contentDocument); }

[jQuery] Re: superfish and pixopont menu

2009-11-11 Thread lukeh
Anyone?? Im a peace corps volunteer and the site for a climbing club in macedonia. Id pay someone but i only make 200$ a month :) On Nov 11, 5:54 pm, lukeh wrote: > Im trying to activate the superfish options in my pixopoint menu > herehttp://plocaclimbing.com > I could really use some help. (

Re: [jQuery] Re: Are there any specific reason why the Jquery library returns a lot of errors in the Firefoxx error console?

2009-11-11 Thread Michel Belleville
Doesn't it smell a bit like a troll all of a sudden ?.. Michel Belleville

[jQuery] Re: Are there any specific reason why the Jquery library returns a lot of errors in the Firefoxx error console?

2009-11-11 Thread MorningZ
i'd suggest taking a big possibility out of the equation: your code go on the docs site (http://docs.jquery.com) and see if you see the same behavior

[jQuery] Re: Generated output only displaying value - forms-jquery/ajax

2009-11-11 Thread Mike Alsup
On Nov 11, 1:56 pm, Rathric wrote: > I have a question about drop down options with html/jscript/Asp.net > and ajax/jquery/.  When the user populates the form and submits, the > output is written to memory and sent to an email address.  What I have > noticed is that the output is only showing th

[jQuery] jQuery form plugin and document.domain failure

2009-11-11 Thread Vaclav Kohout
The situation comes like this using form plugin from http://plugins.jquery.com/project/form : $('#photoform').ajaxForm({ dataType : 'json' , success: function(data){ alert( data.result ) ; }, error: function(){ alert('error');

[jQuery] Re: Error '$this' is undefined

2009-11-11 Thread Daybreak0
Joe - thank you for bveing so patient That worked perfectly

Re: [jQuery] Are there any specific reason why the Jquery library returns a lot of errors in the Firefoxx error console?

2009-11-11 Thread Richard D. Worth
There shouldn't be any errors if your application is behaving as expected. Sounds like you've got some sort of configuration problem. Perhaps you don't have the latest version of jQuery? Or you're using a plugin that hasn't been updated to work with the version of jQuery you're using? Or maybe you'

RE: [jQuery] IE Help - Code Included

2009-11-11 Thread Dave Maharaj :: WidePixels.com
Sounds good. Will give it a try and mess around with it more. Thanks. Dave _ From: Michel Belleville [mailto:michel.bellevi...@gmail.com] Sent: November-11-09 7:34 PM To: jquery-en@googlegroups.com Subject: Re: [jQuery] IE Help - Code Included I'm not sure what it is but it's obvio

Re: [jQuery] IE Help - Code Included

2009-11-11 Thread Michel Belleville
I'm not sure what it is but it's obviously in the ajax callback (the delete completed). My best guess would be that chaining fadeOut() and slideUp() this way may not be a very good idea, better to use just one or the other in my opinion, though I'm not sure it's what's causing the trouble. Anyway,

Re: [jQuery] Re: sliding previous/next content

2009-11-11 Thread Michel Belleville
Yeah, I though someone had to have already made such a plugin. Glad you found what you needed. Michel Belleville 2009/11/11 Marco Barbosa > Hello again! > > I've found this plugin that does exactly what I needed: > Cycle plugin - http://www.malsup.com/jquery/cycle/ > > You just set a container

[jQuery] Re: Cascade plugin and multiple selected values

2009-11-11 Thread rmachado
Hello and thanks for the reply I'm trying to use the solution you propose, but I'm new to jquery and I can't make it work. My code is: jQuery(document).ready(function() { jQuery("#chained_child").cascade("#chained",{ list:

[jQuery] Re: Cycle plugin with link functionality

2009-11-11 Thread zac
nevermind.. i figured it out On Nov 11, 1:08 pm, zac wrote: > Thanks for the response Mike.. could you please show me an example as > I am not clear on this... > > On Nov 11, 1:04 pm, Mike Alsup wrote: > > > > Hi, I have the cycle plugin setup so a series of thumbnails of the > > > image switch

[jQuery] Re: IE7 onclick object.function

2009-11-11 Thread Scott Sauyet
On Nov 11, 1:14 pm, Matthew wrote: > I posted this earlier, but perhaps I didn't explain it right. I responded to this question in the other thread: http://groups.google.com/group/jquery-en/browse_thread/thread/415d92ca6645b883# The issue is a trailing comma in your list of defaults. It h

[jQuery] Re: Cycle plugin with link functionality

2009-11-11 Thread zac
Thanks for the response Mike.. could you please show me an example as I am not clear on this... On Nov 11, 1:04 pm, Mike Alsup wrote: > > Hi, I have the cycle plugin setup so a series of thumbnails of the > > image switch the bigger image upon mouseover.  Much like this > > example...http://www.m

[jQuery] Re: Cycle plugin with link functionality

2009-11-11 Thread Mike Alsup
> Hi, I have the cycle plugin setup so a series of thumbnails of the > image switch the bigger image upon mouseover.  Much like this > example...http://www.malsup.com/jquery/cycle/pager6.html > except mine works by hovering over the thumbs like: > > .cycle({ >         fx:     'fade', >         spee

[jQuery] Cluetip: Access both local & external content

2009-11-11 Thread JMD
What script do I use to have cluetip alternately access local (#divID) vs. external (external.jsp#divID) content to populate the cluetip? Not at the same time, just some links are local and some aren't. I can't seem to create a script that doesn't conflict with one or the other condition. For exa

[jQuery] jQuery Ajax Form from Queness - Text Input Field Disabled in IE6 IE7 ! Works in IE8, Safari, Firefox...

2009-11-11 Thread Designs by DP
Can anyone look at this page and tell me what im doing wrong? I have the form working in all browsers except IE6, and IE7 html head (just in case of js conflicts): $(function() { $("#contact_collapse_button").click(function(event) { event.preventDefault(); $("#contact_collapse").slideTo

[jQuery] Generated output only displaying value - forms-jquery/ajax

2009-11-11 Thread Rathric
I have a question about drop down options with html/jscript/Asp.net and ajax/jquery/. When the user populates the form and submits, the output is written to memory and sent to an email address. What I have noticed is that the output is only showing the value and not the text like so: Main Secur

[jQuery] Are there any specific reason why the Jquery library returns a lot of errors in the Firefoxx error console?

2009-11-11 Thread Sune42
Hi Just curious. I am using the Firefox error console for my debugging and I am a bit annoyed to always see the Jquery library errors popping up all the time in the list. Are there any technical reason for why the Jquery library has so many errors? or is it not possible to get rid of them becaus

[jQuery] Nested Accordion

2009-11-11 Thread Akbar
Hello, I am looking for an example of nested accordions. Anyone seen that somewhere? A URL will help. Thanks.

[jQuery] Cycle plugin with link functionality

2009-11-11 Thread zac
Hi, I have the cycle plugin setup so a series of thumbnails of the image switch the bigger image upon mouseover. Much like this example... http://www.malsup.com/jquery/cycle/pager6.html except mine works by hovering over the thumbs like: .cycle({ fx: 'fade', speed: 'fast',

[jQuery] Re: (treeview) Collapsable hitarea

2009-11-11 Thread Ryan
Anyone? On Nov 4, 1:43 pm, Ryan wrote: > I have atreeviewin my application and all works pretty well with it. > I want the toggle +/- button to work as it does by default, but want > the rest of the node to not trigger the collapse/expand event. How > would one go about preventing this behavior?

Re: [jQuery] Re: selector performance

2009-11-11 Thread Karl Swedberg
Are those tests really using jQuery 1.1.4? If so, they're hardly relevant now, unless you're using a very old version of jQuery. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 11, 2009, at 7:23 AM, grabnerandi wrote: Check out this link: http://blog

Re: [jQuery] Re: IE7 onclick object.function

2009-11-11 Thread Joe Moore
Well, maybe all is not lost. How about this, which uses jQuery inside the function. Then you could call your plugin, I bet. Still not the best, but perhaps it will work. Test Page $(function() { $('a.detailLink').click(

[jQuery] Re: IE7 onclick object.function

2009-11-11 Thread Matthew
Thanks for the help Joe. Originally most of the on-page script was just javascript, but the function call was to a custom jQuery plugin. I did a modified version of what you suggested and rewrote the plugin to just be basic functions with parameters. Seems to work now, I'm just bummed I couldn't k

[jQuery] Re: How to send Object Graphs to the server via AJAX?

2009-11-11 Thread Tony
Hello, One possible solution is to serialize the grid data (which should be posted) as string. You can use either the JSON.stringify or the build in jqGrid function xmlJsonClass.toJson this way you can just simple do (suppose the serialized data is myserializedgrid) $.ajax({ url:'some' dataType:'js

[jQuery] Re: Show/Open jqGrid with hiddengrid: true on a click event

2009-11-11 Thread Tony
Hello, There is a method for this purpose and your code can look like this (see documentation at http://www.trirand.com/jqgridwiki/doku.php?id=wiki:methods#add_on_grid_methods ) $("a.show-grid").click(function(e){ //code to open/show the grid which is now collpased. $("#mygrid").jqGrid('setGridS

Re: [jQuery] sending a html part to a printer

2009-11-11 Thread D A
> Hi guys, is it possible to print a part of the html page using JQuery > and printed copy must not include the browser addons like datetime and > the url. I want the print out to be a plain document with just data > (Ms Word look alike print out) The first part of your question could be done usin

Re: [jQuery] Re: IE7 onclick object.function

2009-11-11 Thread Joe Moore
Mmm... I'm thinking there's a better way to do it, but as I'm not familiar with the code you are dealing with, here's what I came up with, basically you aren't using jQuery. Test Page $(function() { $('a.detailLink').click(

[jQuery] Re: IE7 onclick object.function

2009-11-11 Thread Matthew
I'm passing about 5 parameters to the function that are coming from php running in a loop. So I was thinking I needed to use the onclick on the tag so that I could just pass the php variables as parameters right there in the loop instead of storing them somehow and referencing them after the page

Re: [jQuery] Re: IE7 Bug with Cache

2009-11-11 Thread Ricardo Fontão Verhaeg
Sorry for the delay.. yes.. i'm now doing something like it... also i'm forcing the php script with no-cache headers and the ajax request with cache:false parameter for now is working... =D thanks Ricardo Verhaeg Bacharelado Ciências da Computação - USP - São Carlos (2005) Virgos Tecnologia da In

Re: [jQuery] IE7 onclick object.function

2009-11-11 Thread Joe Moore
Is there some reason you don't want to put this onclick event in a script tag in the head section? Like, Test Page $(function() { $('a.detailLink').click( function(event) { //stop the events def

Re: [jQuery] button value change

2009-11-11 Thread Joe Moore
David, Here's one way, using the toggle event (really a click event, check out: http://docs.jquery.com/Events/toggle#fnfn2fn3.2Cfn4.2C...) Test Page $(function() { $('a.detailLink').toggle( function(event) {

[jQuery] Re: SUPERFISH - drop-downs sticking open in Safari

2009-11-11 Thread discern
Screenshot: http://www.postimage.org/image.php?v=Ts1jTUUi

Re: [jQuery] Re: Jquery suitable for advanced webapplication

2009-11-11 Thread saxan rappai
iam also happy with jquery bringing up best results .. i recently started using jquery and now almost all the applications in my company using jquery and it will be the best choice.. saxan rappai On Wed, Nov 11, 2009 at 11:01 PM, Sn3b wrote: > jQuery is definitely the way to go Dennis, I've trie

[jQuery] IE7 onclick object.function

2009-11-11 Thread Matthew
I posted this earlier, but perhaps I didn't explain it right. Im trying to get code that uses this syntax to work in IE6/7 It seems like IE6/7 do not like the $(this).function syntax, although if I just alert($(this)) I get [object Object] which I think is what should be expected. I am using a

[jQuery] button value change

2009-11-11 Thread David pr
Hello, I had an More details $(this).text($(this).text() == 'More details' ? 'Hide details' : 'More details'); and on click I changed the text from more to hide I had to change the How do I change the value text on click ? David

Re: [jQuery] sending a html part to a printer

2009-11-11 Thread Charlie Griefer
On Wed, Nov 11, 2009 at 9:54 AM, theUnseen wrote: > Hi guys, is it possible to print a part of the html page using JQuery > and printed copy must not include the browser addons like datetime and > the url. I want the print out to be a plain document with just data > (Ms Word look alike print out)

[jQuery] sending a html part to a printer

2009-11-11 Thread theUnseen
Hi guys, is it possible to print a part of the html page using JQuery and printed copy must not include the browser addons like datetime and the url. I want the print out to be a plain document with just data (Ms Word look alike print out) Thank you in advance!

[jQuery] Re: events propagation once again

2009-11-11 Thread norbi
After reading this group history and other google sources I came into the conclusion that it would not be possible to simulate the click by trigger("click"). Anyway, here is the code that is working fine for me. Maybe useful for someone. Thanks for help. Brgs Norbert $("#menu_ma a") .clic

[jQuery] Re: sliding previous/next content

2009-11-11 Thread Marco Barbosa
Hello again! I've found this plugin that does exactly what I needed: Cycle plugin - http://www.malsup.com/jquery/cycle/ You just set a container with a fixed size and overflow hidden. The plugin does all the rest, pretty neat! Just in case someone else runs into this post. Thanks for your slide

Re: [jQuery] Cluetip not working in Chrome 3.0.195

2009-11-11 Thread Karl Swedberg
Hi there, It looks like you're attaching the cluetip method to $ ('a#ce_cluetip'). IDs must be unique per document (used only once). I'm actually surprised that Firefox continues to find elements with id="ce_cluetip" after the first one. I guess it's more forgiving. Try adding a class to t

[jQuery] IE Help - Code Included

2009-11-11 Thread Dave Maharaj :: WidePixels.com
I have a my content wrapped in a div. It has a "delete' button. Click delete will add the pre_delete class to the div your about to delete and a confirm alert. Click yes and the section fades out / deleted in back-end. Click no the div returns to normal with the pre_delete class being removed. In

[jQuery] Hey need some help regarding displaying of smileys similar to yahoo

2009-11-11 Thread anjith
Hi, I need to keep smileys similar to yahoo and gmail.that means when i click the smiley image i ned to display all the smileys i don't know what is the name of such plugin i have only 1hr time to complete this task please help me guys Thanks and regards, Anjith kaumar garapati

[jQuery] Re: Jquery suitable for advanced webapplication

2009-11-11 Thread Sn3b
jQuery is definitely the way to go Dennis, I've tried a few JS frameworks myself and nothing gives me more enjoyable results than this. You will have to learn to create plugins though, not that it is required, but it helps organising your website better (in my opinion). I'm currently working on a

[jQuery] accessing object method, what is the correct way?

2009-11-11 Thread Sn3b
Hi everyone, I'm not a big expert at jQuery, but I'm good at copying code, like most coders ;) Anyway, I wrote a little object that seems to work fine, however, outside this object i need to call one of its methods, what is the correct way to do that? This is the structure of my object: ( funct

[jQuery] Fade background color or image of a div as animated slideshow?

2009-11-11 Thread Dan
Hi all, Does anyone know how I can fade the background of a div as a slideshow? I want to have the background of a div element change color (and image if possible) at a regular interval with multiple slides like a slideshow. I can live with just changing the background color, but I would like to

[jQuery] SUPERFISH - drop-downs sticking open in Safari

2009-11-11 Thread discern
The suckerfish menu on my site, enhanced with Superfish, works great in Firefox (Win, Mac & Linux), Opera 9 Win, Konqueror, Chrome and, surprisingly enough, IE 7 and 8. But the menus are sticking open in Safari 4 Mac and Windows. I have several jQuery plugins, plus my own .js file. All are include

Re: [jQuery] Jquery suitable for advanced webapplication

2009-11-11 Thread Richard D. Worth
In addition to jQuery, you may also want to look at jQuery UI, which is jQuery's official suite of interactions, widgets, effects, and theming for creating rich internet applications: http://jqueryui.com/ - Richard On Wed, Nov 11, 2009 at 8:39 AM, Wiemer wrote: > Hi Every

[jQuery] Can't get validate to report only 1 error for multiple dropdowns

2009-11-11 Thread marty
The user must make a selection from any one of several dropdown menus. I want there to be only validation warning, but I'm getting a warning for each dropdown. I have prepared a test on my website: http://www.martinschechtman.com/validateTest.html. Any help getting this to work properly would b

[jQuery] SimpleModal issues when loading content via Ajax

2009-11-11 Thread Eric Getchell
Hello, I’m having two issues with the SimpleModal jQuery plugin that I’m sure someone knows the answers to. Essentially, I am using SimpleModal to display informational windows/forms and I encountered an issue when loading the display content via Ajax. To ensure that the rendering problems were

[jQuery] superfish and pixopont menu

2009-11-11 Thread lukeh
Im trying to activate the superfish options in my pixopoint menu here http://plocaclimbing.com I could really use some help. (am finding the installation a bit confusing). i have the plugin on my server, i just need to know where to put the script to activate it (ive tried unsuccessfully) ive incl

[jQuery] Re: marking a link as visited

2009-11-11 Thread walter jenner
subscribing... On Sep 26, 9:19 am, Bertilo Wennergren wrote: > RealMason wrote: > > I'm using jquery.embedquicktime.js to play an mp3. Sometimes I have a > > dozen different mp3s on a page. When a user clicks on the graphical > > play button, the button is replaced with the Quicktime controller b

[jQuery] Simple img click check doesn't work

2009-11-11 Thread etay2k
Hello I am trying to run this simple jquery code to check if an arrow image is clicked and reveal the div under it: ... http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js";> $(document).ready(function(){ $('#arrow1').click(function () { if ($('#content1')

[jQuery] Iframe content delete some close tags

2009-11-11 Thread m.ugues
Hallo all. I have an iframe where is loaded an html page where is defined a input tag like this When the html is loaded in the iframe the closing tag is dropped. Since I need to save the correct html to send it to a server-side component to parse it via SaxParser I need also the close input ta

Re: [jQuery] Re: .hide and .show div's

2009-11-11 Thread Joe Moore
Oops! Thanks for the catch! The other thing to understand is that this wont work for browsers that have JavaScript disabled. On Nov 11, 2009 9:16 AM, "MorningZ" wrote: > Oops. got the selector wrong. It should be: > $( function() { > $(div[class^=hide-BAT].hide(); ... You still didn't get it rig

[jQuery] Re: trying to get jQuery plugin to work with onclick IE6/7

2009-11-11 Thread Scott Sauyet
On Nov 10, 5:47 pm, Matthew wrote: > Scott, thanks for your time, I have been banging my head on the desk > for a while. I edited the code down and used JS Bin:http://jsbin.com/ehoxu The issue is a trailing comma in your list of defaults. IE<8 objects to this: {a: "b", c: "d",} while it ha

[jQuery] jqModal with jScrollPane

2009-11-11 Thread SehaxX
Hello, I need help to use jScrollPane inside of jqModal plugin. I try with the onLoad and onShow events but can not figured out a resolution. please help, thx

[jQuery] Jquery suitable for advanced webapplication

2009-11-11 Thread Wiemer
Hi Everybody, Forgive me my possible bad english, if I'm rude please ignore it I didn't mean to be :) Currently we're planning the build for a highend webapplication (Saas) where everything will be javascript controlled and php + mysql on the backend. Right no I'm looking for a good javascript fr

[jQuery] Cluetip not working in Chrome 3.0.195

2009-11-11 Thread dondmcg
The cluetip displays wonderfully in all browsers I have tested except Chrome ver. 3.0.195. The problem is that the first instance appears but subsequent instance will not display. Here is a link: http://conted.nybg.org:8080/WebModule/jsp/datafeedplugin.jsp?df1=layout&df3=LAN&df4=LHNQ&df5=10003#

[jQuery] $('elem').tooltip() registration

2009-11-11 Thread Gaspar Rajoy
I've found a problem, but i don't know if it's a bug of Tooltip or a bug of jQuery itself. What happens it's next: If i register something like this: $('a').tooltip(), everything goes fine. But, if, i do the same again, the elements registered before, now doesn't have the tooltip anymore, but the

[jQuery] Re: .hide and .show div's

2009-11-11 Thread David pr
Thank you all i've (you guys) crack it.

[jQuery] Get the real html from an iFrame

2009-11-11 Thread m.ugues
Hallo all. I have an iframe with an id. I need to get the html content of this iframe. So from the iframe doc read I tried like this var html = parent.$('#indexIframe').contents().find('html').html() In this way I get the content of the tag html of the iframe, so the head definition and the bod

Re: [jQuery] Animation queue on different element?

2009-11-11 Thread Michel Belleville
Use the animations complete callbacks. $('#element1').fadeIn('slow', function() { $('#element2').fadeIn('slow', function() { ... }); }); Michel Belleville 2009/11/11 badtant > Hi! > > I have the two animations below running side by side: > $("#dubbelsnurra #graph1").animate({height:"154px"},1

[jQuery] Re: .hide and .show div's

2009-11-11 Thread MorningZ
> Oops. got the selector wrong. It should be: > $( function() { > $(div[class^=hide-BAT].hide(); > }); > Joe You still didn't get it right :-) $("div[class^=Hide-BAT]").hide(); To original poster: if you want "fast", then you can't beat CSS with jQuery's hide method have like: . a

[jQuery] Re: (validate) Can rules be turned off by setting them to false?

2009-11-11 Thread Mike817
bump On Nov 3, 11:30 pm, Mike817 wrote: > I'm trying to use a checkbox to turn a validation rule off or on. The > rules I'm using is: > > MyField: { >         required: "#MyCheckbox:unchecked", >         number: "#MyCheckbox:unchecked" > > } > > The required rule turns off fine, but the number ru

Re: [jQuery] parameters to jquery’s .load()

2009-11-11 Thread darwin liem
in jquery you can find $.getScript() function... wich is part of ajax way to retrieve javascript on the fly... so the script is not needed to be put on the page but loaded asynchronously before or after the page loaded depend on when u need the script... Best Regards Darwin Liem --- On Wed,

Re: [jQuery] .hide and .show div's

2009-11-11 Thread Joe Moore
Oops. got the selector wrong. It should be: $( function() { $(div[class^=hide-BAT].hide(); }); Joe On Wed, Nov 11, 2009 at 8:38 AM, Joe Moore wrote: > $( function() { >$(div[class=hide-BAT$].hide(); > }); > > I haven't tested this, but it should work. If not, verify the selector. > >

[jQuery] Re: AJAX is not invoked for dynamically added input fields

2009-11-11 Thread palgo
Thanks man! So I changed this line to this to get it to work: //old $(".A, .B").keyup(function(event){ /new $(".A, .B").live ("keyup", function(event){... Thanks again for your quick answer! -Palgo On 11 Nov, 14:27, Giovanni Battista Lenoci wrote: > palgo ha scritto:> My problem is that

Re: [jQuery] .hide and .show div's

2009-11-11 Thread Joe Moore
$( function() { $(div[class=hide-BAT$].hide(); }); I haven't tested this, but it should work. If not, verify the selector. Not sure why you are giving a unique classname to all these elements. If you need it, why not use the I'd attribute? Regards, Joe On Nov 11, 2009 8:17 AM, "David pr" w

Re: [jQuery] AJAX is not invoked for dynamically added input fields

2009-11-11 Thread Giovanni Battista Lenoci
palgo ha scritto: My problem is that while the calculation works on the first to default rows, calculation doesn't seem to work on rows that I added by clicking on add row-button. Anyone know why is happening? Do you use the live functionality also for the keyup event that will fire the ajax

Re: [jQuery] .hide and .show div's

2009-11-11 Thread Sam Doyle
Look at jquerys find functions Sent from my iPhone On 11 Nov 2009, at 12:36, David pr wrote: Hello, Could you help me please. I have a list of hotel which I .hide and .show div's to show more or less info. so i have when the user press a button I use the code var Hcode = $(this).attr("cu

[jQuery] .hide and .show div's

2009-11-11 Thread David pr
Hello, Could you help me please. I have a list of hotel which I .hide and .show div's to show more or less info. so i have when the user press a button I use the code var Hcode = $(this).attr("custom"); $('div.Hide-' + Hcode).toggle(); but when the page loads how do I hide this div automatic

[jQuery] AJAX is not invoked for dynamically added input fields

2009-11-11 Thread palgo
Not a good title, but I'll explain little bit better here: I got help here for another issue which was solved: http://groups.google.com/group/jquery-en/browse_thread/thread/e9a2cfa80ec18c4c/33923a0f4ffc5729#33923a0f4ffc5729 So basically in one row there are 3 input fields, and writing to numbers

[jQuery] html title attribute displaying incorrectly

2009-11-11 Thread patrick ross
Hi, I've implemented a mouse over enlarge function using Jquery. I have added on title attribute but which works fine when the Jquery isn't working. Once "switched on" it iplements the colours stipulated by the CSS style sheet. I'm confused as to how I can tell it to do what it normally does. The o

[jQuery] Re: JQuery/PHP/MySQL Best Practice Sample Application?

2009-11-11 Thread santosh
You can use the http://www.bitrepository.com/a-simple-ajax-contact-form-with-php-validation.html On Nov 11, 4:00 am, dvanatta wrote: > Can someone point me to a JQuery/PHP/MySQL application which has > source code available which I can use to learn? > > Thanks.

[jQuery] parameters to jquery’s .load()

2009-11-11 Thread Wouter
hello, I have to files ans the first one index.html I use all the javascripts. As you can see in my script i like to load "aanmelden.html". In this page U like to uise a callander. How can I use the calanderfunction without putting the javascript directly into aanmelden.html $(document).ready(fun

[jQuery] jquery.tooltip.show(); / tooltip.update?

2009-11-11 Thread Yell0w
Hi, I was wondering if it was possible to update the "inner html" of a tooltip? also is it possible to force a tooltip to open when its created? i have to mouse over to do an ajax load of the inner html, and i have to do a second mouseover to make it show. Any suggestions are more than greatly app

[jQuery] Re: Jquery Corner IE issues [Solution]

2009-11-11 Thread TimP
Hi, just thought i'd share this as i spent a while trying to work it out, i'm using the corner plugin to create rounded corners on a dropdown menu, but ran into a problem where in all versions of IE it was showing the body background color on the corners of the menu when the menu was displayed over

[jQuery] Superfish problem: doesn't work in IE6 and IE7

2009-11-11 Thread Outre99
Hi all, The Superfish drop down menu is not working in IE6 and IE7 but in different ways. In IE6 nothing woks. No dropdowns show up. In IE7 the dropdown menu is hiding behind the content div even though the Z-index has been increased a great deal. You can see it here: http://pangu.arctosgroup

Re: [jQuery] Re: Error '$this' is undefined

2009-11-11 Thread Joe Moore
Then something like this: Test Page $(function() { $('a.cartSummaryLink').each(function(i) { $(this).text( $(this).text().replace('Cart','My Shopping Bag')); }); });

[jQuery] Re: Error '$this' is undefined

2009-11-11 Thread Daybreak0
Joe No I dont want anything to happen when you click on the link I want to change it beforehand. Basically ON LOAD of the html I need certain text replaced by my text. There is certain text that I can not control through HTML or in the backend, which needs to be replaced by my text. Not just th

[jQuery] Re: selector performance

2009-11-11 Thread grabnerandi
Check out this link: http://blog.dynatrace.com/2009/11/09/101-on-jquery-selector-performance/

[jQuery] Re: Selection logic

2009-11-11 Thread Savageman
It was a joke! :d Mootools provides access directly to all the Element methods via the prototype and you never have to retrieve the dom instance with $. It's just fun to think about it. On 11 nov, 04:11, Mr Speaker wrote: > BTW, just to be clear: there shouldn't EVER be a reason ever to do: $($ >

Re: [jQuery] Re: Error '$this' is undefined

2009-11-11 Thread Joe Moore
You can't use the val() attribute, you need to use the text() attribute. Its still not clear to me what you are trying to accomplish, so I played a little and here's what I came up with for you to peruse. Test Page $(function(event) { $('

[jQuery] Animation queue on different element?

2009-11-11 Thread badtant
Hi! I have the two animations below running side by side: $("#dubbelsnurra #graph1").animate({height:"154px"},1500); $("#dubbelsnurra #graph2").animate({height:"74px"},1500); When they are "done" I want to start another animation on two other elements. See below: $("#dubbelsnurra #graph1_result,#

Re: [jQuery] Re: Error '$this' is undefined

2009-11-11 Thread Joe Moore
So the jquery code executes when they click on the link? If so, do you have a click event attached to the links and this code is on it? On Nov 10, 2009 10:46 PM, "Daybreak0" wrote: Joe Here is the Html fom above - I should have continued it into the conversations. HTML Code: View Cart is '.ca

[jQuery] Re: events propagation once again

2009-11-11 Thread norbi
Hi Matthew, Thank you for answering again. I am using jQuery 1.3.2 I am afraid that $("#fake_href").trigger('click').stopPropagation(); is not the right solution here. Since #fake_href is outside the ... I do not need to stop propagating here, but ... Your idea was interesting and I checked

  1   2   >