[jQuery] Re: Edit-In-Place with Form plugin

2008-04-11 Thread Mika Tuupola
On Apr 11, 2008, at 3:05 AM, Chris wrote: My problem is that I cannot edit in place the items submitted with the form plugin without refreshing the page. http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_Ajax_request.3F -- Mika Tuupola

[jQuery] Re: How to get a 'fresh' ui datepicker date?

2008-04-11 Thread Jacky See
The above code has some error. Here is my final solution: write another plugin to get the date. HTML: div id=dateRange Plan Date: input type=text id=eventFromDate/ to input type=text id=eventToDate/ br/ Actual Date: input type=text id=actualFromDate/ to input type=text id=actualToDate/

[jQuery] Re: Problems with JQuery Cycle Plugin and IE6

2008-04-11 Thread Mike Alsup
Hi, I'm relatively new to using JQuery so maybe making a newbie error bt can't see where. I've installed the JQuery Cycle Plugin on the homepage of a website I've built and it works perfectly in Firefox, Safari, and IE7 but it crashes IE6. I have used this plugin before and it

[jQuery] learning jquery

2008-04-11 Thread sebey
what is the best way to learn jquery? quickly and easliy

[jQuery] ajax with ifmodified - handling of null in last modified

2008-04-11 Thread nacnez
In my current application I was working with jquery ajax api with ifmodified enabled. This was working great for me and I was using 304s to my heart's content. In a particular case, the server side application was returning a Http code 200 but was not setting the Last- Modified header. Because of

[jQuery] some $.index() prob

2008-04-11 Thread hex0id
Hello guys, recently I faced problem with index function, example in documentation works perfectly but it's slightly simple. When I try to use this function in more complexed way it's not working, here's what I'm trying to: $(#organize ul).mousedown( function(e){

[jQuery] Re: this ?

2008-04-11 Thread Hamish Campbell
$(.highlight).removeClass; The selector $('.highlight') is choosing all your objects that have the class 'highligh'. removeClass still needs to know what class to remove (ie, the method removeClass doesn't know how or why you selected those particular elements). It takes the class name as an

[jQuery] Passing variables between two function

2008-04-11 Thread Decagrog
Hi all, I've a newbie question about variable scope...essentially i've two anonimous function and i need to retrieve a variable generated into first function and use it in the second one. Here the basic code to get an idea of what i'm trying... var pointX ;

[jQuery] Problems with JQuery Cycle Plugin and IE6

2008-04-11 Thread kirstyburgoine
Hi, I'm relatively new to using JQuery so maybe making a newbie error bt can't see where. I've installed the JQuery Cycle Plugin on the homepage of a website I've built and it works perfectly in Firefox, Safari, and IE7 but it crashes IE6. I have used this plugin before and it worked perfectly

[jQuery] IE6 removing /li : bug?

2008-04-11 Thread Richard W
Hi there I have noticed a very weird bug when using $.html() in IE6. For example I have: div id=content pparagraph/p ul lilist item 1/li lilist item 2/li lilist item 3/li /ul /div When I used $(#content).html() I get pparagraph/p ul lilist item 1 lilist item 2 lilist item 3 /ul Other other

[jQuery] Passing variables between two function

2008-04-11 Thread Decagrog
Hi all, I've a newbie question about variable scope...essentially i've two anonimous function and i need to retrieve a variable generated into first function and use it in the second one. Here the basic code to get an idea of what i'm trying... var pointX ;

[jQuery] Re: triggering clueTip with inline javascript

2008-04-11 Thread az
Anyone have any thoughts on this? thanks! az On Apr 9, 1:58 pm, az [EMAIL PROTECTED] wrote: Hello, As I discussed in a previous post (unresponsive script error on long page with many clueTips) I'm trying to trigger clueTips with a javascript function instead of binding the clueTips on

[jQuery] How to use jFrame Plug-In

2008-04-11 Thread tfat
Hi, Trying to get the jFrame plug-in to work but unsure how to use it. (see: http://plugins.jquery.com/project/jframe) I have set-up the follow div, i.e: div id=content src=#/div and then make a call to: jQuery(#content).loadJFrame(returnURL); Have also included all necessary js libraries.

[jQuery] Re: this ?

2008-04-11 Thread Jeff
Awesome! Thanks! On Apr 10, 10:50 pm, Jeffrey Kretz [EMAIL PROTECTED] wrote: You could do this: $('.highlight').removeClass('highlight').filter(':even').addClass('shaded')­; The this keyword is useful only inside javascript code (it won't work in a selector). JK -Original

[jQuery] Immediate validation

2008-04-11 Thread Taras
Hello jQuery Team:) Sorry for banal question, but I have not found answet to it in the web. So, I have simple html form and I want to validate it using jQuery validation plugin. Everything is fine? but I want to change validation event. In documentaion it is said that, By default, forms are

[jQuery] jQuery plugin: Tooltip problem with disabled form fields

2008-04-11 Thread james_fairhurst
Hi, Shameful to admit but my first post is a request for help but here goes. I've been using the wonderful jQuery plugin: Tooltip from bassistance.de but I haven't been able to get it working for disabled form input fields. I don't know whether this is an issue with HTML in general not being

[jQuery] Passing variables between two functions

2008-04-11 Thread Decagrog
Hi all, I've a newbie question about variable scope...essentially i've two anonimous function and i need to retrieve a variable generated into first function and use it in the second one. Here the basic code to get an idea of what i'm trying... var pointX ;

[jQuery] Re: this ?

2008-04-11 Thread ripple
$(this+':even').addClass(shaded); Jeff [EMAIL PROTECTED] wrote: 'scuse me for the noob question here... i have statements like this: $(.highlight).removeClass; $(this:even).addClass(shaded); And I don't think I'm using this or :even correctly; it doesn't work =) Googling has

[jQuery] Re: Passing variables between two function

2008-04-11 Thread Richard D. Worth
Declare the variable in the same scope as each of those functions is declared. For example: $(function() { var pointX; $(.nav_slider).mousemove(function(e) { ... // set pointX here ... }); $(document).scroll(function() { ...// use pointX here... }); }); - Richard Richard D. Worth

[jQuery] Re: some $.index() prob

2008-04-11 Thread Richard D. Worth
try this: $li.parent().index($li) The index method needs to be called on the container element (in this case, the ul), while passing the child element. - Richard Richard D. Worth http://rdworth.org/ On Fri, Apr 11, 2008 at 4:48 AM, hex0id [EMAIL PROTECTED] wrote: Hello guys, recently I

[jQuery] weird jQuery bug, but solved

2008-04-11 Thread Paul
Hi, I am building an HTA (using IE6) that is using jQuery to write some html to a div. The html contains a script tag with content. What (as I understand by reading through the minified code) jQuery does, is filter the script tag, create one, add it to the head and remove it right after. That

[jQuery] Re: Cycle plugin, start from last entry in container, rather than first

2008-04-11 Thread Andy Matthews
Ahh...Very nice Mike. Now if I start on slide 5, and hit the previous button, will that display slide 4, then slide 3 ,etc.? -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike Alsup Sent: Thursday, April 10, 2008 5:08 PM To:

[jQuery] Re: Cycle plugin, start from last entry in container, rather than first

2008-04-11 Thread Andy Matthews
That did it Mike. I like you...you've got the answers to all of my questions, AND you already put in all of the features I request into Cycle. So is this some sort of space/time warp? If I request a feature, will it already have been in there before I even thought of it? Or is the very act of my

[jQuery] Re: Cycle plugin, start from last entry in container, rather than first

2008-04-11 Thread Mike Alsup
That did it Mike. I like you...you've got the answers to all of my questions, AND you already put in all of the features I request into Cycle. So is this some sort of space/time warp? If I request a feature, will it already have been in there before I even thought of it? Or is the very

[jQuery] Re: blockUI. To have a cancel button appeared after n seconds if the blockUI not unblocked

2008-04-11 Thread Jiming
Nobody have this requirement? Cound anyone show me some light on how to deal with an uncloseable blockUI window please? On Apr 7, 1:40 pm, Jiming [EMAIL PROTECTED] wrote: Dear sir, From time to time, we might have code which usingblockUIthat cannot unblock-ed properly. In that case, user

[jQuery] redefining a function bound to document.ready

2008-04-11 Thread Noel
I want to redefine a function that is being bound to document.ready by someone else. Actually, I'd prefer just to unbind the function, but the initial binding is in a file that I don't want to change, and uses this syntax: $(theFunction); I understand from

[jQuery] Re: Problems with JQuery Cycle Plugin and IE6

2008-04-11 Thread kirstyburgoine
Hi Mike, Thanks for replying. This is what I've done I deleted: codescript type=text/javascript$('#s1').cycle('fade');/script/ code and put this in head script type=text/javascript $(function() { $('#s1').cycle();}); /script However, now the page doesn't even load before IE6

[jQuery] Re: Validate plugin 1.2.1 backward compatibility break

2008-04-11 Thread Bryce Lohr
Hi Jörn, I've put together some simplified example pages showing the two main use cases I'm having a problem with. I created two versions of each page, one using Validate 1.1.2, and one using Validate 1.2.1. The 1.1.2 example function properly, while the 1.2.1 versions don't. Validating a

[jQuery] Draggable table layout sorter

2008-04-11 Thread IanR
Hi guys, I am creating a very simple data entry screen where a user can enter a block of numbers then position them in the right columns of a table. For example: Col A | Col B | Col C | Col D 5 | 3| 12 | 14 9 | 4| 7 | The first line is correct data but

[jQuery] Re: Problems with JQuery Cycle Plugin and IE6

2008-04-11 Thread kirstyburgoine
Hi Mike, Thanks for replying I am a newbie with this so appreciate your help. I've changed my code now so that in head I have: script type=text/javascript $(function() { $('#s1').cycle(); }); /script and I deleted: codescript

[jQuery] Re: blockUI

2008-04-11 Thread upandhigh
checl also these demos, seems it's like what you are looking for BlockUI Plugin http://www.malsup.com/jquery/block/#demos On Apr 10, 5:07 pm, Mike Alsup [EMAIL PROTECTED] wrote: I have to implement this scenario: in a web page all the stuff contained in the web page must be blocked and

[jQuery] Re: How to use jFrame Plug-In

2008-04-11 Thread tfat
Can anyone pls assist. Thanks. Tony. On Apr 11, 3:04 pm, tfat [EMAIL PROTECTED] wrote: Hi, Trying to get the jFrame plug-in to work but unsure how to use it. (see:http://plugins.jquery.com/project/jframe) I have set-up the follow div, i.e: div id=content src=#/div and then make a call

[jQuery] Re: blockUI. To have a cancel button appeared after n seconds if the blockUI not unblocked

2008-04-11 Thread Mike Alsup
Nobody have this requirement? Cound anyone show me some light on how to deal with an uncloseable blockUI window please? This is not something the plugin is going to do for you, but you can roll you own. Here's a start: $(document).ready(function() { var t; function loadDiv() {

[jQuery] Re: Problems with JQuery Cycle Plugin and IE6

2008-04-11 Thread Mike Alsup
Unfortunately, I am having problems with my server at the moment so I could only test this locally. It still isn't working though. Now IE6 crashes before it loads any of the page. I'm sure I'm missing something really obvious. Well it's not obvious to me. What is the css for s1 and the

[jQuery] Re: triggering clueTip with inline javascript

2008-04-11 Thread Karl Swedberg
Hi az, Unfortunately, I've completely lost the context for what you're doing here. Do you have a page up somewhere that we can look at to see the whole thing? That would be very helpful. --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 11,

[jQuery] jQ Validation display:none validation

2008-04-11 Thread AlexGrande.com
Hi, I used the jQ validation plugin for this webpage - http://research.emedtv.com/idiopathic-pulmonary-fibrosis-research/idiopathic-pulmonary-fibrosis-clinical-study-2.html I love it! But we have dependent questions - see what happens when you click yes or no to the tobacco question. Those

[jQuery] Re: learning jquery

2008-04-11 Thread ^AndreA^
Probably a book is the best solution... but if you are not sure yet (about if you really like jQuery and want to learn it) you can find some good tutorials online... I think you already know this link... but anyway... http://docs.jquery.com/Tutorials Some of them are very well made and a good

[jQuery] Cycle plugin not working in IE - (I probably screwed something up!)

2008-04-11 Thread Andy Ford
Hey all, I've got the cycle plugin up and running in Firefox (mac/pc) and Safari/mac, but It's not running in IE7 or Opera/mac. I must have missed something. (I'm a css dev, but not great with js). Would you mind having a peek to see where I must have slipped up?

[jQuery] Need jQuery plugin for artwork display

2008-04-11 Thread SamCKayak
I'm looking for a jQuery extension to show off artwork. Maybe 10 to 100 paintings. Maybe more. There are so many jQuery extensions I need some help finding the needle in the haystack. Any recommendation appreciated. Is there anything that will perform album cover flipping like iTunes?

[jQuery] Re: Cycle plugin not working in IE - (I probably screwed something up!)

2008-04-11 Thread Mike Alsup
You need to remove the trailing comma in functions.js: pager: '#slide-numbers', On Fri, Apr 11, 2008 at 1:38 PM, Andy Ford [EMAIL PROTECTED] wrote: Hey all, I've got the cycle plugin up and running in Firefox (mac/pc) and Safari/mac, but It's not running in IE7 or Opera/mac. I must

[jQuery] Jquery, AJAX and MySQL update

2008-04-11 Thread Chris Jones
Hi, I hope someone can help me with this. I've been reading jquery.com tutorials and others online to try and create a sortable drag and drop list which updates a mysql table using AJAX. After a few hours of head scratching I finally got most of it, but I'm stuck on the bit that passes the

[jQuery] Re: corner plugin on Safari

2008-04-11 Thread Derek Allard
The problem in the corner rendering seems to only come if there is a delay in getting the css. This only happens in Safari 3.1 that I can see. Here's a test case. --- !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://

[jQuery] Re: corner plugin on Safari

2008-04-11 Thread Mike Alsup
The problem in the corner rendering seems to only come if there is a delay in getting the css. This only happens in Safari 3.1 that I can see. Here's a test case. I guess that makes sense. The corner script tries to determine the appropriate color for the corners that it rounds. In

[jQuery] Re: corner plugin on Safari

2008-04-11 Thread jonesbot
On Apr 11, 2:02 pm, Mike Alsup [EMAIL PROTECTED] wrote: I guess that makes sense.  The corner script tries to determine the appropriate color for the corners that it rounds.  In this case it would seem that the right corner color changes after the script has run. Any ideas why this would

[jQuery] Re: Cycle plugin not working in IE - (I probably screwed something up!)

2008-04-11 Thread Andy Ford
perfect! Thank you so much for taking the time to look this over and post your feedback. I figured it had to be something along these lines, but I just couldn't find it. Interesting how the different browsers handle things like this. Thank you thank you thank you! On Apr 11, 11:23 am, Mike

[jQuery] Re: Jquery, AJAX and MySQL update

2008-04-11 Thread Scott Sauyet
Chris Jones wrote: script $(document).ready(function(){ $(#list).sortable({ accept: 'item', update: function(sorted) { serial = $('#list').sortable('serialize'); $.ajax({ url:updatesql.php, type:POST,

[jQuery] Resizing table columns with colspan

2008-04-11 Thread oravecz
I've been successful keeping a couple tables in sync with regard to the column widths for some time. Nothing fancy here; both tables have the same number of columns and one table is the master with the data, and the other is a header table. I set the column widths on the header table to the

[jQuery] help with regex? converting plain text with line breaks to ol with lis

2008-04-11 Thread rolfsf
It's a bit off topic, perhaps, but using jQuery I want to get the contents of a plain text file, and convert each line to a list item in an ordered list. Being a designer, the regular expression syntax just stumps me... \n\r\??? Can anyone nudge me in the right direction? rolfsf

[jQuery] Re: Jquery, AJAX and MySQL update

2008-04-11 Thread Chris Jordan
yeah, the other method of passing data via ajax is: ... url: myurl.php, type: post, data: {variablename:value, variablename2:someJSValue}, ... you could declare an object that contains your arguments that you want to pass in to updatesql.php like this: var args = {} args.name = John

[jQuery] Re: Jquery, AJAX and MySQL update

2008-04-11 Thread Chris Jones
Hi Scott, The hash was a suggestion on another site. I have tried it without it as well but no joy. If I alert the serial on success I get what I would expect ie. item[]=2item[]=3item[]=10 At the moment the updatesql.php file is simply setup so if the page is called it connects to the

[jQuery] Re: Improving upon the jQuery Plugin Template

2008-04-11 Thread oravecz
Thanks Ariel, that's a way of exposing an external api that I hadn't thought of. -- jim

[jQuery] Detecting Javascript error in IE and then displaying a more helpful message to the user

2008-04-11 Thread cfdvlpr
We're noticing that some users of Windows Vista are getting Javascript errors and are not able to use our site. Is it possible to use jQuery to detect when there's a Javascript error and then display our own customized alert statement to help them fix it?

[jQuery] Re: Jquery, AJAX and MySQL update

2008-04-11 Thread Scott Sauyet
Chris Jones wrote: The hash was a suggestion on another site. I have tried it without it as well but no joy. If I alert the serial on success I get what I would expect ie. item[]=2item[]=3item[]=10 [ ... ] data: serial.hash or data: serial, = nothing gets updated. data:

[jQuery] Re: Detecting Javascript error in IE and then displaying a more helpful message to the user

2008-04-11 Thread Josh Nathanson
You can use plain vanilla Javascript try/catch to catch the errors. That being said, you should probably track down exactly what the errors are, and try to eliminate them. Testing in IE6/7 is important, as there are some errors which do not show up in Firefox (trailing commas are a big one)

[jQuery] Re: Detecting Javascript error in IE and then displaying a more helpful message to the user

2008-04-11 Thread cfdvlpr
Well, the problem was fixed by doing a Reset Internet Explorer Settings which makes me think it's not a problem with our code, but with the browser going wonky itself. I was thinking of using jQuery to detect if there's an error and if the browser IE7/Vista and then displaying an alert statement

[jQuery] Re: Jquery, AJAX and MySQL update

2008-04-11 Thread Chris Jordan
Chris, The hash idea that the other site was talking about is what I was telling you in my previous post. I do this all the time: function myFunction(email){ var args = {}; args.name = $('#nameid').val(); args.location = $('#locationid').val(); args.email = email;

[jQuery] Re: help with regex? converting plain text with line breaks to ol with lis

2008-04-11 Thread Ariel Flesler
line 1: var text = 'one\ntwo\nthree\nfour';//example line 2a: var html = 'li' + text.split(/[\n\r]+/).join('/lili') + '/li'; or line 2b: var html = text.replace(/(.+?)(?:[\n\r]+|$)/g, 'li$1/ li'); line 3: $('ol /').html( html ).appendTo('body');//example I advice using 2a. Cheers -- Ariel

[jQuery] Re: help with regex? converting plain text with line breaks to ol with lis

2008-04-11 Thread rolfsf
Thank Ariel So the first line creates a variable of all the text, line 2a puts an initial li, and then splits the text at each line break adding /lili, and finally adding the final /li Line 3 wraps the whole thing in an ol (so jQuery automagically closes the tag?) thanks so much rolfsf On Apr

[jQuery] Problem whith ie 7 and slideDown

2008-04-11 Thread nerohc
Hi, i hae the following code: $(document).ready(function(){ $('#txtSearch').attr('value', 'Enter Search tags for skills or functions').focus(function(){ $(this).attr('value', ''); showSearchBox(); }) }); function showSearchBox(){

[jQuery] Jquery cycle plugin and images included dynamically

2008-04-11 Thread jawosis
Hi, I am using the jquery cycle plugin for slide effects of images being included dynamically to the website. Unfortunately, the images in the hidden divs will not show in their original size once being showed from the cycle script - just a icon size image is visible. How can i change this to

[jQuery] Re: help with regex? converting plain text with line breaks to ol with lis

2008-04-11 Thread Ariel Flesler
$('ol /').html( html ).appendTo('body');//example It is closed, not the ending slash. I was just exemplifying, you can use innerHTML, or whatever you want. Cheers -- Ariel Flesler http://flesler.blogspot.com On 11 abr, 20:54, rolfsf [EMAIL PROTECTED] wrote: Thank Ariel So the first line