[jQuery] Re: superfish and Lokesh Dhakar's lightbox2 seem to conflict - please help

2009-07-07 Thread JayD
Figured it out. Thought I'd post my own answer here. Seems I was using an older version of scriptaculous.js . Apparently... there is a conflict with an older version of Scriptaculous and jQuery (Scriptaculous was attempting to extend the native Array prototype incorrectly). For anyone who may

[jQuery] Re: Treeview, async, persist location

2009-07-07 Thread Victor Jonsson
Update. I've been searching and reading all over the web and haven't been able to solve this. One way I've read about is * Save IDs in cookie when the user expands nodes, and then re-open them on next page-load. (that would do fine if i would know how to do it :) ) I don't know how to bind the

[jQuery] Access a plug-in option from within the initial call?

2009-07-07 Thread Nikola
Hi, I'm wondering how to access a plug-in's options from within the initial plug-in call. Here's an example: $(#someDiv).somePlugIn({ optionA: true, trigger: $(this).children('#trigger'), callback: function(){ trigger.doSomething(); } });

[jQuery] Re: error jquery-1.3.2.js(line 3633)

2009-07-07 Thread Mark
the html is pretty long but here is the complete document !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en head titleagenda/title

[jQuery] Re: error jquery-1.3.2.js(line 3633)

2009-07-07 Thread Jonathan Vanherpe (T T NV)
Mark wrote: I have 3 drop down menu's where is post the value's bij a button.click (see code below). But when i push the button i see an error in fire bug POST http://localhost/agenda nieuw/handler.php 67ms jquery-1.3.2.js(line 3633) I looked online for awnsers but couldn't find any. Maybe you

[jQuery] Re: function scope

2009-07-07 Thread RobG
On Jul 7, 11:04 am, Josh Nathanson joshnathan...@gmail.com wrote: You can't.   Of course you can. You'll have to create a global variable outside document.ready: var myFuncs = {}; Or just: var foo; or from within the ready function: var global = (function(){return this;})();

[jQuery] menu slide

2009-07-07 Thread fabrice.regnier
Hi all, I want flash menu go away from my site. I've found http://interface.eyecon.ro/demos/menu.html but it seems a little buggy and needs too much js. I imagine a menu with 3 horizontal boxes (with a picture in each). When i hover on one of the box, its width increases to let appear a text

[jQuery] Re: menu slide

2009-07-07 Thread olsch01
Hi Fabrice, the first thing I would do is search the jQuery plugins pages (there is a category for menus: http://plugins.jquery.com/project/Plugins/category/44), or simply search for something like jquery menu slide in Google/Bing/ Yahoo... Cheers On 7 Jul., 11:14, fabrice.regnier

[jQuery] Search Functionality in DataGrid

2009-07-07 Thread jazz
Hi Folks, I want search functionality in the grid..i found one link but it is in php...but i donno php :-( i want it in jsp.. Here is the link: http://trirand.com/jqgrid/jqgrid.html#. in this there is a take any exampel which contains search records..it is really very nice. please sort

[jQuery] Re: $(delButton)..click(function(){... for later added button's

2009-07-07 Thread Liam Potter
live should work, try this. $(.delButton).live(click, function(){ $(this).parent(.parentOFbutton).remove(); return false; }); pascal.nauj...@googlemail.com wrote: Hi, i implemented the following method for removing a button with it's parent:

[jQuery] how to change 2,5 to 2,50 ?

2009-07-07 Thread weidc
hi, thats my code: endpreis =Math.round(endpreis*100)/100; to round the price of something but i'd like to have 2,00 or 2,50 instead of 2 and 2,5. i'd be happy about any help. --weidc

[jQuery] Re: Mootools tooltip used inside of jquery??

2009-07-07 Thread Araceli Domínguez
Charlie, thanks a ton for answering and thanks to all for reading. I've changed the tooltip, you were right there's a bunch of very nice tooltips made with jQuery. I'm using jquery-tooltip and here's the result: http://www.vivocomtech.net/vidzapper/jquery-tooltip/tipmix2.htm As you'll

[jQuery] Determine content type in $.post callback

2009-07-07 Thread dnagir
Hi, How can I check if the content type is JSON or HTML here (server can return any)? $.post(url, params, function(data) { if (!isDataInJsonFormat(data, this)) { editDialog.html(data); return; };

[jQuery] Re: how to change 2,5 to 2,50 ?

2009-07-07 Thread weidc
solved it by myself. endpreis =Math.round(endpreis*100)/100; endpreis = endpreis+ foo; endpreis = endpreis.replace(/ foo/,); var cent = endpreis.split(.); if(cent[1].length == 1) { endpreis = endpreis+0; }else{ if(cent[1].length == 2) { //schoen so

[jQuery] Re: how to change 2,5 to 2,50 ?

2009-07-07 Thread jeff
ha ha good work :) On Tue, Jul 7, 2009 at 4:29 PM, weidc mueller.juli...@googlemail.comwrote: solved it by myself. endpreis =Math.round(endpreis*100)/100; endpreis = endpreis+ foo; endpreis = endpreis.replace(/ foo/,); var cent = endpreis.split(.); if(cent[1].length == 1) {

[jQuery] Re: how to change 2,5 to 2,50 ?

2009-07-07 Thread Massimo Lombardo
This one is more general (and faster, I think: no if-else, no regexp) Number.prototype.padRight = function (fill) { var v = this.toString().split('.'), d = v[1] || ''; return (v[0] || '0') + '.' + d + fill.substr(d.length); } test1 = 2; test2 = 3.141592; test3 = 0.001; test4 = .33;

[jQuery] Re: how to change 2,5 to 2,50 ?

2009-07-07 Thread weidc
no it's not for money + - money. it's just to show the price of something - % action in different sizes after selecting something in dropdown options. everything else is with php of course. but i'll try your way too. :) On 7 Jul., 13:14, Massimo Lombardo unwiredbr...@gmail.com wrote: This one

[jQuery] Re: how to change 2,5 to 2,50 ?

2009-07-07 Thread Giovanni Battista Lenoci
weidc ha scritto: no it's not for money + - money. it's just to show the price of something - % action in different sizes after selecting something in dropdown options. everything else is with php of course. but i'll try your way too. :) As a (mainly) php programmer I think this site is

[jQuery] Re: how to change 2,5 to 2,50 ?

2009-07-07 Thread weidc
the price have to change on the page without reloading the site. the javascript is just to look well for the customers. but thank you anyway! On 7 Jul., 13:24, Giovanni Battista Lenoci gian...@gmail.com wrote: weidc ha scritto: no it's not for money + - money. it's just to show the price of

[jQuery] Re: Mootools tooltip used inside of jquery??

2009-07-07 Thread Charlie
http://docs.jquery.com/Frequently_Asked_Questions#Why_doesn.27t_an_event_work_on_a_new_element_I.27ve_created.3F Now that jQuery documentation comes in handy! Araceli Domínguez wrote: Charlie, thanks a ton for answering and thanks to all for reading. I've changed the tooltip, you were right

[jQuery] Ajax Tabs with accordion content...

2009-07-07 Thread Thomas
Hello, I use a jquery tabs with ajax (for loading a tab content) it works very well, but when ajax have to load an accordion, it doesn't work well (i loose the accordion presentation) i have maybe a clue : ajax doesn't load well also accent if their are not code like acirc; (yes, i'm french)

[jQuery] form action not being set

2009-07-07 Thread Misteka
Hi all Pulling out hair that doesn't exist. When I run the following code, none of the set's are being done. Most important one for me is the action attribute. Can anyone help? script type=text/javascript language=JavaScript $().ready(function() { var url = $(#aggurl).val();

[jQuery] getScript problem with ie6

2009-07-07 Thread Luca Maggioni
Hi I download asynchronously a js with: $.getScript( mapScript, function(){ initMap(); } ); mapScript is a string that contains the microsoft virtual earth scripts. initMap display the map using the objects defined in

[jQuery] problem selectable disposition

2009-07-07 Thread Jordi Giralt
Hello, I want to create a selectable list (with jQuery UI Selectable plugin). But I want to dispose the selectable list in table format. I need to represent list in a 3 columns and 2 rows. The code implemented is this, but I have a problem on clicking in a selectable element. The jquery don't

[jQuery] Basic slideUp and slideDown jumping

2009-07-07 Thread Mizu
Hi, my jQuery skills are pretty good normally but this is driving me mad! It's a fairly simple accordian I've coded up from scratch. Using jQuery 1.3.2 so there shouldn't be any jumping bugs but basically if you take a look at the example: http://www.mizudesign.com/jquery/accordian/basic.html

[jQuery] Superfish - Menu put in Master page (asp.net MVC) doesn't behave ok in content pages

2009-07-07 Thread HariOm
Hi I am using SuperFish menu plugin to create menu system for my web. It works ok on my home page but doesn't seem to be ok with other pages. The problem is that I can't see Arrow in other pages. Then I tried calling it in specific page using same code as master page (like below) then it works.

[jQuery] Re: menu slide

2009-07-07 Thread Charlie
some known as Horizontal Accordion olsch01 wrote: Hi Fabrice, the first thing I would do is search the jQuery plugins pages (there is a category for menus: http://plugins.jquery.com/project/Plugins/category/44), or simply search for something like jquery menu slide in Google/Bing/ Yahoo...

[jQuery] Kicking off an Israeli users group

2009-07-07 Thread Refael
Hello all, I'm kicking off an Israeli Users group, with a users meet-up. Do you have recommendations for things to talk about, or even any presentations you are willing to share? Thanks in advance, Refael

[jQuery] How to read the contents of .php filw on the webserver

2009-07-07 Thread Neha
Hey guys, Myself totally new in this javascript worldi have to read the contents of a .php file which is placed on the webserver...say (http// www.example.com/read.php)...how to do that???

[jQuery] Problem with accordion in ajax Tabs

2009-07-07 Thread Thomas
Hello, I use jquery Tabs with ajax for loading data it works well but when data is an accordion, there is no more presentation of the accordion (like no css, or no js) it's maybe nothing, but ajax has also a problem when data contain an accent who is not code with aacute; anyway, if somebody has

[jQuery] Re: Ajax Tabs with accordion content...

2009-07-07 Thread Charlie
http://docs.jquery.com/Frequently_Asked_Questions#Why_doesn.27t_an_event_work_on_a_new_element_I.27ve_created.3F Thomas wrote: Hello, I use a jquery tabs with ajax (for loading a tab content) it works very well, but when ajax have to load an accordion, it doesn't work well (i loose the

[jQuery] Re: Kicking off an Israeli users group

2009-07-07 Thread jeff
include the cakephp + jquery usage and how to get the value from jquery to a controller in cakephph with refrence site or examples On Tue, Jul 7, 2009 at 12:42 PM, Refael ref...@gmail.com wrote: Hello all, I'm kicking off an Israeli Users group, with a users meet-up. Do you have

[jQuery] Re: Mootools tooltip used inside of jquery??

2009-07-07 Thread Araceli Domínguez
Charlie sorry, I don't get it .. am I supposed to use $('a').click(fn) ? Did u read my code? Thanks again ! Charlie escribió: http://docs.jquery.com/Frequently_Asked_Questions#Why_doesn.27t_an_event_work_on_a_new_element_I.27ve_created.3F Now that jQuery documentation comes in handy!

[jQuery] Re: Superfish - Menu put in Master page (asp.net MVC) doesn't behave ok in content pages

2009-07-07 Thread Charlie
"is not defined function" error means calling a function that doesn't exist at time it is called. Make sure path to your js file is valid, that is where the function is defined. Also be sure jquery.js being loaded before plugin js . If problem persists post a link You can put your function

[jQuery] Re: Mootools tooltip used inside of jquery??

2009-07-07 Thread Charlie
it's not the click function that's important in the FAQ, it's the concept that events don't work on elements added to the DOM after page load. That is due to browser functionality Important to understand this part of link: Why doesn't an event work on a new element I've created? You can

[jQuery] Re: error jquery-1.3.2.js(line 3633)

2009-07-07 Thread Mark
http://webserver.c4v.nl/mark/agenda%20nieuw/agenda.php for the main file http://webserver.c4v.nl/mark/agenda%20nieuw/handler.php for the handler http://webserver.c4v.nl/mark/agenda%20nieuw/agenda.css for the css http://webserver.c4v.nl/mark/agenda%20nieuw/jquery-1.3.2.js for

[jQuery] ajax checkbox (status update)

2009-07-07 Thread hamed7
i want create checkbox for show status system when user cheched status update to show=1 and when user uncheched status update to show=0 please help me with jquery and php,i am new in ajax and jquery if you want help me,please send full source code or show me where can i solve my problem in the

[jQuery] Re: how to change 2,5 to 2,50 ?

2009-07-07 Thread RobG
On Jul 7, 8:11 pm, weidc mueller.juli...@googlemail.com wrote: hi, thats my code: endpreis =Math.round(endpreis*100)/100; to round the price of something but i'd like to have 2,00 or 2,50 instead of 2 and 2,5. i'd be happy about any help. To format a number in javascript with exactly

[jQuery] Re: jQuery in an eBay auction template? Is it possible?

2009-07-07 Thread eepeterson
I threw together the most basic sample here: http://erikpeterson.brinkster.net/ebay/template/test.html Basically the file is just jQuery and a very basic script but eBay isn't allowing it (I'm not loading it through src). Any thoughts? Thanks! On Jun 23, 5:57 pm, Raj rajb...@gmail.com wrote:

[jQuery] Re: How to read the contents of .php filw on the webserver

2009-07-07 Thread Mark
var scrUrl; var Host = http://www.example.com/read.php;; function inializeUrl() { scrUrl = Host //+ string //in de string komt de api key te staan maar omdat die niet standaard is maak ik er later een string van } function do_it()

[jQuery] Re: how to change 2,5 to 2,50 ?

2009-07-07 Thread Giovanni Battista Lenoci
weidc ha scritto: the price have to change on the page without reloading the site. the javascript is just to look well for the customers. but thank you anyway! Yes, the functions I've posted are javascript trasposition of php functions. In php exists the number format function: |$number =

[jQuery] Re: Determine content type in $.post callback

2009-07-07 Thread dnagir
Anybody please?

[jQuery] documentation system for jquery

2009-07-07 Thread david
Hi all, I wanted to ask which system you use to produce the jquery documentation (core and plugins). Thanks, David

[jQuery] Re: Mootools tooltip used inside of jquery??

2009-07-07 Thread Araceli Domínguez
Working! thanks a ton! Charlie escribió: it's not the click function that's important in the FAQ, it's the concept that events don't work on elements added to the DOM after page load. That is due to browser functionality Important to understand this part of link: *Why doesn't an event

[jQuery] Re: menu slide

2009-07-07 Thread fabrice.regnier
Hi, I'm currently playing with hslides.js which is an horizontal accordion. thanx for your help ;) regards, f.

[jQuery] Form Plugin Large File Upload Problem

2009-07-07 Thread zendog74
I am using the JQuery Form Plugin on a form that is shown in a modal window (nyroModal) to upload files. It is working like a charm as long as the file is a reasonable size. However, if a user tries to upload a large file (say 100MB or more), when response comes back (HTML response), it re-loads

[jQuery] Re: DISABLE BUTTON AFTER 1 CLICK -JQUERY: NOT WORKING WITH IE8

2009-07-07 Thread Cesar Sanz
Sorry for my suggestion, I misread your point, thought you were not able to disable your button. You say it works in FF, Have your tried this same code in IE 7.0 ? Does it works? I can see in your code that you bind a submit event to the #node-form twice, why is that?

[jQuery] (Validate) - How to apply validations on dynamically generated forms.

2009-07-07 Thread mnaveed
Hi, I am using the JQuery validation plug in for form validations. My page contains a loop in which dynamic forms are generated and within each form some text fields are also dynamically generated. I have assigned the id and name attributes both to form and fields with dynamically appending a

[jQuery] Re: How to read the contents of .php filw on the webserver

2009-07-07 Thread Maxime FAYE
You can't ;) Since php is a server side language the webserver will give you the result but not the php code. This would be a serious security fail... 2009/7/7 Neha neha2...@gmail.com Hey guys, Myself totally new in this javascript worldi have to read the contents of a .php file which

[jQuery] Problem with submit(function())

2009-07-07 Thread Maskime
Hi everyone, I'm running into troubles with a simple task. I want to bind a function to the submit event on a form : $j(document).ready( function(){ var oCurrentForm = $j(#syncCountry).parent().get(0); if(oCurrentForm.tagName ==

[jQuery] Re: Search Functionality in DataGrid

2009-07-07 Thread Cesar Sanz
Which back end technology do you know? Asp, Asp.net, java.. ? - Original Message - From: jazz bharathbhooshan.amb...@gmail.com To: jQuery (English) jquery-en@googlegroups.com Sent: Tuesday, July 07, 2009 3:54 AM Subject: [jQuery] Search Functionality in DataGrid Hi Folks, I

[jQuery] Re: how to change 2,5 to 2,50 ?

2009-07-07 Thread Cesar Sanz
Massimos' Number.prototype.padRight = function (fill) { var v = this.toString().split('.'), d = v[1] || ''; return (v[0] || '0') + '.' + d + fill.substr(d.length); } Very elegant solution!! - Original Message - From: Giovanni Battista Lenoci gian...@gmail.com To:

[jQuery] Re: Determine content type in $.post callback

2009-07-07 Thread Cesar Sanz
Well, All I have to say is that you must to be aware of what kind of result type are you specting from your back end system. - Original Message - From: dnagir dna...@gmail.com To: jQuery (English) jquery-en@googlegroups.com Sent: Tuesday, July 07, 2009 7:44 AM Subject: [jQuery] Re:

[jQuery] Re: Determine content type in $.post callback

2009-07-07 Thread Giovanni Battista Lenoci
dnagir ha scritto: Anybody please? if(typeof(ret_data) == 'object') { } or if it's not evalueated by jquery try to eval with a try/catch block. :-) -- gianiaz.net - web solutions via piedo, 58 - 23020 tresivio (so) - italy +39 347 7196482

[jQuery] Re: tablesorter plugin leaks memory in IE6 and IE7

2009-07-07 Thread pob
right, I narrowed down the problem and found it occurs in IE6 sp2, but not sp3. Probably why nobody metioned a memory leak!!! I'm using $.browser to only allow it for sp3 users of IE6. thanks, pob On Jun 17, 12:43 pm, pob pierce.obr...@gmail.com wrote: Thanks for the prompt reply MorningZ,

[jQuery] Re: (Validate) - How to apply validations on dynamically generated forms.

2009-07-07 Thread Jörn Zaefferer
$(.commForm).each(function() { $(this).validate(); }); The call to validate works only with the first selected element, so you have to do an explicit loop. Jörn On Tue, Jul 7, 2009 at 3:34 PM, mnaveedmnaveed...@gmail.com wrote: Hi, I am using the JQuery validation plug in for form

[jQuery] Re: how to change 2,5 to 2,50 ?

2009-07-07 Thread Massimo Lombardo
Thank you :) On Tue, Jul 7, 2009 at 16:46, Cesar Sanzthe.email.tr...@gmail.com wrote: Massimos' Number.prototype.padRight = function (fill) {   var v = this.toString().split('.'), d = v[1] || '';   return (v[0] || '0') + '.' + d + fill.substr(d.length); } Very elegant solution!! --

[jQuery] Re: how to change 2,5 to 2,50 ?

2009-07-07 Thread mkmanning
There are also some currency formatting plugins: http://plugins.jquery.com/project/currencyFormat (or search currency under plugins) On Jul 7, 3:11 am, weidc mueller.juli...@googlemail.com wrote: hi, thats my code: endpreis =Math.round(endpreis*100)/100; to round the price of something

[jQuery] long paragraph - hide some of it and show all on click

2009-07-07 Thread sso
Not sure the best way to approach this. I would like all my text to be on the page (for seo reasons). for example --- Some text hidden below --- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse dapibus mi non enim convallis pharetra. Integer nisi

[jQuery] Re: Search Functionality in DataGrid

2009-07-07 Thread aquaone
I've got an incomplete but working project you can use: http://bluemoon.reverse.net/~aquaone/tablefilter/ On Tue, Jul 7, 2009 at 02:54, jazz bharathbhooshan.amb...@gmail.com wrote: Hi Folks, I want search functionality in the grid..i found one link but it is in php...but i donno php :-(

[jQuery] Re: long paragraph - hide some of it and show all on click

2009-07-07 Thread sso
awesome, that would have been a better question. What should I search for? :) Thanks that should be good :) On Jul 7, 12:28 pm, brian bally.z...@gmail.com wrote: There are a bunch of existing plugins for truncation. I couldn't recommend any one over the others. Search google for jquery

[jQuery] Re: long paragraph - hide some of it and show all on click

2009-07-07 Thread brian
There are a bunch of existing plugins for truncation. I couldn't recommend any one over the others. Search google for jquery truncate. 2009/7/7 sso strongsilent...@gmail.com: Not sure the best way to approach this. I would like all my text to be on the page (for seo reasons).  for example

[jQuery] New Plugin: loopedCarousel

2009-07-07 Thread Nathan
I'd love to hear any feedback on my latest project loopedCarousel. loopedCarousel is a plugin made for jQuery that is not only a looping carousel, its main goal is to be extremely easy to implement. No more messing around with CSS to get your carousel to look and function properly. You want to

[jQuery] Re: Finding/selecting items identified by an attribute whose value contains quote characters

2009-07-07 Thread Nikki Locke
Conclusion - it can't be done. Workround: $(A).filter(function() { return $(this).attr(href) == href); }); On Jul 2, 12:14 pm, Nikki Locke ni...@trumphurst.com wrote: I am writing a test harness for a web app using jquery. When recording a test, I add handlers for user

[jQuery] Re: Remote control of web pages for use as a test harness - clicking A links from script

2009-07-07 Thread Nikki Locke
Conclusion: It can't be done. Only workround is to look for javascript at the beginning of the url, and either eval it, or use window.location, depending on the result. On Jun 25, 8:07 pm, Nikki Locke ni...@trumphurst.com wrote: I am devising a test harness for a complex web application. The

[jQuery] Re: jQuery.remove() = bug or feauture?

2009-07-07 Thread Bogdan
Thanks, true helper; Just issue a: delete myElement; and the memory is freed On Jun 28, 9:36 pm, Ricardo ricardob...@gmail.com wrote: On Jun 28, 5:19 am, Laszlo Bagi laszlo.b...@gmail.com wrote: Hi! I've started to deal with jQuery for few months ago and I bumped into some freaks

[jQuery] Caching nodes

2009-07-07 Thread Darko Romanov
Hi there, I'm developing a site that has some js visual effects and many graphic elements to move. So I have to take care of each single query on the DOM as it could take too much time to be executed, resulting in a flicking animation. I thought I could cache in memory a node and then querying

[jQuery] Re: long paragraph - hide some of it and show all on click

2009-07-07 Thread Cesar Sanz
Check this out pal http://jsbin.com/ifaha Put in a div / the text to hide e.g div class=hide Quisque eget tellus ut justo volutpat placerat. Vivamus congue lacus sed ante luctus ac dictum felis fermentum. Etiam vel adipiscing leo. Integer tortor justo, volutpat non ullamcorper

[jQuery] Re: getScript does not always work for me

2009-07-07 Thread Nikki Locke
Just to bring you up to date, turns out the problem wasn't the ajax call not returning, it was in the code that processed the call, which hung the browser! The offending call was somthing like: $(a[href='javascript:Submit('text')']) On Jun 26, 11:45 am, Nikki Locke ni...@trumphurst.com wrote:

[jQuery] Re: TreeView Problems

2009-07-07 Thread Jon Banner
i had a similar problem this morning. I updated the call to the write cookie to include a path (i was getting a cookie written for each page in the app) line 172 in the uncompressed plugin. $.cookie(settings.cookieId, data.join(), { path: '/' } ); Jon 2009/7/6 Keith keithhen...@gmail.com

[jQuery] [jcarousel] jCarousel Appears Vertical then Horizontal

2009-07-07 Thread Sparky12
Hi, I am using jCarousel and I am getting a weird bug that I am hoping someone can assist me with. Basically, jCarousel renders perfect - however for a brief instant the carousel appears vertically and then appears horizontal as it should in IE / FF Does anyone know how to fix this bug ?

[jQuery] Re: Caching nodes

2009-07-07 Thread Michael Geary
What you wrote would work, and it would be faster than the original code, but you're making an unnecessary $() call each time you use $(list). Instead, do it like this: var $list = $(ul.list); $list.find(li.selected).addClass(blah); The $ in $list doesn't have any special meaning; it's just a

[jQuery] Fade in first slide in Cycle

2009-07-07 Thread Terry
Hi all. I am using Cycle and I am trying to get the first slide to fade in. I am new to all of this and I just can't get it to work. I looked at the 2 examples that Mike has on his page, but I just don't know what exactly to put where with regards to the code. I am setting up a portfolio with

[jQuery] Re: DISABLE BUTTON AFTER 1 CLICK -JQUERY: NOT WORKING WITH IE8

2009-07-07 Thread Amit Rampurkar
Hello Cesar, The code didn't work with IE 7 too. Well, for the double submit, even I don't know exactly. It was a part of a code I got from somewhere. However as of now, I have modified the code so that it hides the submit button and gives a loading.gif image file. This works with IE too. Finally

[jQuery] Re: Fade in first slide in Cycle

2009-07-07 Thread Charlie
"can't get it to work" ?? nothing happens? images change but not way you want? Sometimes interpreting the problem is half the battle. Can you post a link? If not , look at "Source" in browser of working example. Make sure you are including necessary script files ( jquery and plugin). Order

[jQuery] Re: String Remove Trailing

2009-07-07 Thread Karl Swedberg
On Jul 6, 2009, at 2:09 PM, Israel Thompson wrote: How can I remove the trailing from a string I'm concatenating to go in a URL? if, for example, your string is in a variable called yourString. you could do this: yourString.replace(/$/,'') --Karl Karl Swedberg

[jQuery] How long does it take to download jquery?

2009-07-07 Thread Geoffrey
Simple question, and I know the answer is not simple. How long does it take to download jquery? Does anyone have any numbers that would shed some light on this? I know that there are many variables, but does anyone have any numbers reflecting how long it would take, for example, the 85th

[jQuery] Re: Remove an li

2009-07-07 Thread Karl Swedberg
On Jul 6, 2009, at 8:36 PM, expresso wrote: weird, I went to the selectors page but don't see nextAll That's because .nextAll() isn't a selector. It's a traversal method. http://docs.jquery.com/Traversing/nextAll#expr --Karl Karl Swedberg www.englishrules.com

[jQuery] Re: Problem with submit(function())

2009-07-07 Thread James
When you use .get(), you're retrieving the actual element and it's not a jQuery object. Because of that, when you do oCurrentForm.submit(), it submits the form. It's using the submit() function of Javascript (which takes no arguments), not jQuery's bindsubmit event function. You can rework your

[jQuery] Re: $(delButton)..click(function(){... for later added button's

2009-07-07 Thread pascal.nauj...@googlemail.com
Thanks a lot guys! Works like a charm now! On Jul 7, 4:42 pm, Cesar Sanz the.email.tr...@gmail.com wrote: Hello Liam is right, try live The reason your attempt does not work is beacause you bind your event to an existing element at first, but then, when you create a new one, the event is

[jQuery] Re: form action not being set

2009-07-07 Thread James
Change: $().ready(function() { to $(document).ready(function() { On Jul 6, 9:50 pm, Misteka mist...@gmail.com wrote: Hi all Pulling out hair that doesn't exist. When I run the following code, none of the set's are being done. Most important one for me is the action attribute. Can anyone

[jQuery] [validate] Using 'phoneUS: true' Multiple Times Breaks Form Validation

2009-07-07 Thread Zig
New to jQuery and Validation so please go easy :) The issue: If I validate more than one field with 'phoneUS: true' it breaks jQ Validation and no longer validates anything at all. Here is the code: http://pastie.org/537374 If i remove all instances of phoneUS: true after the one on line 31

[jQuery] Error messages below instead of beside elements

2009-07-07 Thread marklorenz
Hi. I love jQuery and the validation plugin, but I am having a problem. When there is an error, instead of showing beside the element (e.g. a dropdown or an entry field) the error message shows below the element, throwing elements below it out of whack (pushes them to the right). When I look at

[jQuery] Jquery Galleria doesn't work with slider javascript

2009-07-07 Thread Alan
I am trying to implement the galleria plugin into my webpage. I am a javascript newbie so my knowledge is limited. I have included the no conflict plugin and have also changed some of the css for the galleria to not conflict with other css elements(intentionally misspelled names). There is code

[jQuery] Tutorial evaluation

2009-07-07 Thread BaBna
Hi, I have just finished a beginner's interactive tutorial about jQuery for my colleagues, and I wonder if anyone could give any feedback on it - it's my very first training material. http://babna.eu/jQuery/ Thanks! Thomas

[jQuery] Re: How long does it take to download jquery?

2009-07-07 Thread James
I'm not sure I understand your question and how to format a response... do you have sample statistics on other types of files/ libraries. Do you mean, theoretically, like how long it would take to download a 19KB file on a 1.5Mbps internet connection...? Otherwise, pretty fast, IMO. :p On Jul

[jQuery] Re: How long does it take to download jquery?

2009-07-07 Thread MorningZ
I'm not sure how you feel someone could give you an answer that would be even close like for instance, factoring in: - Your user's CPU resources - Their connection speed - Network traffic - ISP traffic - DNS routing - Is GZIP enabled on their browser or not - Are they caching? How could someone

[jQuery] Re: [validate] Using 'phoneUS: true' Multiple Times Breaks Form Validation

2009-07-07 Thread Jörn Zaefferer
There is no phoneUS method? additionalMethods.js adds a phone method. Stopped working most likely means that an error was thrown, check the Firebug console for that! Jörn On Tue, Jul 7, 2009 at 8:11 PM, Zigzig...@gmail.com wrote: New to jQuery and Validation so please go easy :) The issue:

[jQuery] Re: How long does it take to download jquery?

2009-07-07 Thread Cesar Sanz
hmm.. Very subjetive question.. Having a 1 Mb internet connection... it will be a breeze... - Original Message - From: MorningZ morni...@gmail.com To: jQuery (English) jquery-en@googlegroups.com Sent: Tuesday, July 07, 2009 1:56 PM Subject: [jQuery] Re: How long does it take to

[jQuery] Re: Tutorial evaluation

2009-07-07 Thread Blake Senftner
Thomas, Nice tutorial! Being that I'm just learning jQuery myself, I'm finding your page to be quite helpful. Leave it up for a while, okay? Sincerely, -Blake bsenft...@earthlink.net On Jul 7, 2009, at 11:46 AM, BaBna wrote: Hi, I have just finished a beginner's interactive tutorial

[jQuery] Re: Tutorial evaluation

2009-07-07 Thread BaBna
Tthanks a lot Blake, no problem I'll leave it there On Jul 7, 10:13 pm, Blake Senftner bsenft...@earthlink.net wrote: Thomas, Nice tutorial! Being that I'm just learning jQuery myself, I'm   finding your page to be quite helpful. Leave it up for a while, okay? Sincerely, -Blake

[jQuery] Re: How long does it take to download jquery?

2009-07-07 Thread Geoffrey
Yep, I know this is very subjective. What I am wondering is if anyone has actually tried to quantify this in anyway. something along the lines of XX% of some set of internet users has a download speed of YYbps so 19k gziped jquery will download in ZZ milliseconds On Jul 7, 1:32 pm, Cesar Sanz

[jQuery] jQuery - Ajax and Load question

2009-07-07 Thread Glazz
Hello, I have a function that have this: $.ajax({ type: 'GET', url: 'index.php', data: 'id=' + productId + 'qtd=' + quantidade }); This piece of code is working

[jQuery] Re: jQuery - Ajax and Load question

2009-07-07 Thread BaBna
You need to define your callback function. Maybe something like this? $.get(index.php, { id: productId , qtd: quantidade }, function(data) { doWhateverWith(data); }); On Jul 7, 10:42 pm, Glazz brunofgas...@live.com.pt wrote: Hello, I have a function that have this:                      

[jQuery] Re: jQuery - Ajax and Load question

2009-07-07 Thread James
with $.ajax, you use the success callback. $.ajax({ type: 'GET', url: 'index.php', data: 'id=' + productId + 'qtd=' + quantidade, success: function(data) {

[jQuery] Re: jQuery - Ajax and Load question

2009-07-07 Thread Glazz
Thanks for the quick replies, using $.get i can do what i want, with $.ajax i can too, except the data coming from the .php page is json encoded so in the $.get i used 'json' at the end - $.get(.., .., function(), 'json'); Is there any big difference using $.get or $.post, or just $.ajax and

[jQuery] Re: How long does it take to download jquery?

2009-07-07 Thread MorningZ
Yep, I know this is very subjective So what's the point then? If Person A said it would be smoking fast and Person B said it would be dog slow neither one of them have any concrete data to back up their claim (no one does) If you are keeping an eye on page load speed and your user experience

[jQuery] Re: jQuery - Ajax and Load question

2009-07-07 Thread Glazz
Ok i got it, just need to use $.ajax({dataType : 'json'}); On 7 Jul, 23:12, Glazz brunofgas...@live.com.pt wrote: Thanks for the quick replies, using $.get i can do what i want, with $.ajax i can too, except the data coming from the .php page is json encoded so in the $.get i used 'json' at

[jQuery] Re: How long does it take to download jquery?

2009-07-07 Thread Geoffrey
The subjective part is defining a sample group. If someone has a sample group that they have measured connections speeds for, the rest of the equation falls into place. I am not asking for 'imaginary' numbers. I am asking if anyone has investigated this question and if they have any results they

[jQuery] Re: jQuery - Ajax and Load question

2009-07-07 Thread Cesar Sanz
$.get and $.post are convenient methods They both utilize $.ajax internally - Original Message - From: Glazz brunofgas...@live.com.pt To: jQuery (English) jquery-en@googlegroups.com Sent: Tuesday, July 07, 2009 4:12 PM Subject: [jQuery] Re: jQuery - Ajax and Load question Thanks

  1   2   >