[jQuery] Re: Why won't this "unbind" work?

2009-02-13 Thread Michael Geary
Your code is calling .unbind() on the #myTextarea element. What event handler is bound to the #myTextarea element? N.B.: .expandable() is not an event handler. Is it? What is it? -Mike > From: Rick Faircloth > > Given these scripts: > > $(document).ready(function() { > $('#myTextarea').

[jQuery] Re: Would some please tell me what's wrong with this syntax?

2009-02-13 Thread Michael Geary
Rick, the first thing to do is to take out code and see if the problem goes away. What happens if you take out the entire body of the function? > function getNewSchedule(response.MONTH, response.YEAR) { } The error is still there, isn't it? Good, that narrows it down a lot. What does a functio

[jQuery] Re: Would some please tell me what's wrong with this syntax?

2009-02-13 Thread Ricardo Tomasi
function getNewSchedule(response.MONTH, response.YEAR) { the parameteres when you declare a function are variable names, and those are invalid. Try function getNewSchedule(month, year) { and replace the response.XX references inside the function accordingly. You can then call the function pas

[jQuery] Re: jQuery w ajaxCFC

2009-02-13 Thread Matt Quackenbush
cflib.org has a UDF that should do the trick for you. I think it's called serializeJSON(). Might want to give that a shot. On Fri, Feb 13, 2009 at 10:06 PM, Neil Bailey wrote: > > We're using CF7, which doesn't support a returntype of JSON - I wish. > > I am looking into simply returning a "js

[jQuery] Re: How to find the biggest value?

2009-02-13 Thread David .Wu
thanks a lot. On 2月12日, 下午4時23分, Stephan Veigl wrote: > Hi David, > > var max = null; > $("#box div").each(function() { > if ( !max || max.height() < $(this).height() ) > max = $(this); > > }); > > // flash max div > max.fadeOut().fadeIn(); > > by(e) > Stephan > > 2009/2/12 David .Wu : > >

[jQuery] Re: jQuery w ajaxCFC

2009-02-13 Thread Neil Bailey
We're using CF7, which doesn't support a returntype of JSON - I wish. I am looking into simply returning a "jsonEncode"ed string... I cannot tell you how much I appreciate you're help. -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of

[jQuery] Re: Best practice for replacing inline HTML function calls w/several arguments with an event handler

2009-02-13 Thread Eric P
James wrote: I think a good way is to put the data into a separate JSON object and give them a unique ID (eg. item01, item02...), and assign that ID somewhere on the links to be clicked. var productList = { 'item01':{name:123-ABC, color:'red', price:9.99}, 'item02':{name:123-ABC, color:'blu

[jQuery] Re: Would some please tell me what's wrong with this syntax?

2009-02-13 Thread Rick Faircloth
Good call, James...couldn't see that one...I've been starting at it too long! How about another one? Here's the error message: "missing ) after formal parameters" "function getNewSchedule(response.MONTH, response.YEAR) {\n" And here's the code...ideas? Thanks! function getNewS

[jQuery] Re: Is there a way to use object detection to "sniff out" jQuery?

2009-02-13 Thread Mike Alsup
> Is there an exception to that for your website or audience, such that > the browser userd will support Javascript, but not jQuery? Plenty of mobile devices would fall into that category.

[jQuery] Problem reading rss tag

2009-02-13 Thread Karthik
Hi, I am trying to parse a rss feed. My code seems to be able to extract the value for any tag in the feed except the "link" tag. I am using Firefox 3.0.6. $.get("pressRelease1.xml",{},function(d){ $(d).find('item').each(function() { var $item = $(this);

[jQuery] Re: jQuery contextmenu problems

2009-02-13 Thread micho
Okay, so I have now located the problem. Why does this row only work in IE, but not in Firefox? .bind('click', function(e) { e.stopPropagation(); Anyone out there??? On 13 Feb, 22:27, micho wrote: > Note that the contextmenu as such appears in both IE and Firefox

[jQuery] Re: Is there a way to use object detection to "sniff out" jQuery?

2009-02-13 Thread James
jQuery is made to work for pretty much all major and commonly used browsers on the market. Rather than checking whether the browser supports jQuery or not, maybe you should check whether they support Javascript or not. Is there an exception to that for your website or audience, such that the brow

[jQuery] Re: Prepended row, slide-in, showing only first cell

2009-02-13 Thread mkmanning
Not really, the problem is making the table rows or cells display:block. I suggest playing around with the markup and CSS using block element for the header, to get it to look how you want, then add the behavior after. On Feb 13, 11:15 am, Mark Steudel wrote: > Follow up question, if I instead w

[jQuery] Re: Would some please tell me what's wrong with this syntax?

2009-02-13 Thread James
The word 'function' is not suppose to be there. It's there only when you define a function, not when you call it. On Feb 13, 4:07 pm, "Rick Faircloth" wrote: > Hi, James, and thanks for the reply... > > I've got a page full of code and two other errors > that are *seemingly* unrelated, however,

[jQuery] Re: Would some please tell me what's wrong with this syntax?

2009-02-13 Thread Rick Faircloth
Hi, James, and thanks for the reply... I've got a page full of code and two other errors that are *seemingly* unrelated, however, anything is possible. Let me ask this in relation to the second error message: See anything wrong with this syntax (reponse section of an ajax function): success:

[jQuery] Re: Would some please tell me what's wrong with this syntax?

2009-02-13 Thread James
I don't see the problem. Do you have more code than this somewhere that could be causing the error? On Feb 13, 3:16 pm, "Rick Faircloth" wrote: > Thanks for the reply...the paren before the second function definitely > shouldn't have been there... > > Now, with this: > > > > $(document).ready(f

[jQuery] Re: jQuery w ajaxCFC

2009-02-13 Thread Josh Nathanson
Really you don't need AjaxCFC at all. It does have a cfc to serialize and deserialize json but I think you can pick that up at riaforge. Or you can build your own json string in CF and return that from your function. Or you can use returnFormat=JSON in your cffunction to do the serialization fo

[jQuery] Re: simple onclick visit event on div

2009-02-13 Thread introvert
Thank you, works perfect now! On Feb 13, 5:37 pm, Liam Potter wrote: > sorry, I gave you the wrong syntax, should of been > > $(document).ready(function() { >         $("div.image_single").click(function () { >                 var url = $(this).find("a").attr('href'); >                 window.lo

[jQuery] Re: Would some please tell me what's wrong with this syntax?

2009-02-13 Thread Rick Faircloth
Thanks for the reply...the paren before the second function definitely shouldn't have been there... Now, with this: $(document).ready(function() { $('.cancel').livequery('click', function() { $(this).parent().parent().find('.select-div')

[jQuery] Re: jQuery w ajaxCFC

2009-02-13 Thread Neil Bailey
Josh, Just found the page at Rey Bango's blog - I really appreciate it. Do you know if this works w/ the current version of jQuery, and the current version of AjaxCFC? Thanks again. nb -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of

[jQuery] Re: [tooltip]

2009-02-13 Thread sccr410
Perfect, thanks!

[jQuery] Re: Would some please tell me what's wrong with this syntax?

2009-02-13 Thread Josh Nathanson
You don't need that open parenthesis after 'click': $('.cancel').livequery('click', function() { ...etc. -- Josh -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Rick Faircloth Sent: Friday, February 13, 2009 4:38 PM To: jquery-en@goo

[jQuery] Re: jQuery w ajaxCFC

2009-02-13 Thread Josh Nathanson
Do a search for "jquery coldfusion ajax" on Google, you'll find some good stuff. -- Josh -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Neil Bailey Sent: Friday, February 13, 2009 3:05 PM To: jquery-en@googlegroups.com Subject: [jQu

[jQuery] Re: Would some please tell me what's wrong with this syntax?

2009-02-13 Thread donb
The '()' around the 'click' function doesn't belong there. On Feb 13, 7:38 pm, "Rick Faircloth" wrote: > I'm getting this error: > > "missing ) after argument list" >      "return false;\n" > > from this code: > > $(document).ready(function() { > >      $('.cancel').livequery('click', (function(

[jQuery] Why won't this "unbind" work?

2009-02-13 Thread Rick Faircloth
Given these scripts: $(document).ready(function() { $('#myTextarea').hide(); }); $(document).ready(function() { $('#hide').click(function() { $('#myTextarea').unbind().slideUp(); return false; }); }); $(document).ready(function() { $('#show').click(functi

[jQuery] Would some please tell me what's wrong with this syntax?

2009-02-13 Thread Rick Faircloth
I'm getting this error: "missing ) after argument list" "return false;\n" from this code: $(document).ready(function() { $('.cancel').livequery('click', (function() { $(this).parent().parent().find('.select-div').hide(); $

[jQuery] Re: Accessing a JSON property from an unknown variable?

2009-02-13 Thread Nic Luciano
Oh wow, I didn't realize JSON would act like an associative array in that way... Thanks guys! On Fri, Feb 13, 2009 at 7:10 PM, Josh Nathanson wrote: > > foo[fooProp] // returns "barVal" > > Is that what you mean? > > -- Josh > > > > -Original Message- > From: jquery-en@googlegroups.com [

[jQuery] jquery serialScroll and slide element links

2009-02-13 Thread introvert
Hello. I have came across jquery serialScroll plugin which is available here: http://flesler.blogspot.com/2008/02/jqueryserialscroll.html The plugin seems to work but I'm having some problems. I made a slide show which is almost the same as the second slide show in the demo (with the pictures

[jQuery] Re: Problem with BlockUI and IE7

2009-02-13 Thread Mike Alsup
> Unfortunately, both servers are behind our firewall and inaccessible > from the outside, so I can't provide a link. Surely you can create a simple test page that shows the problem? Do you see this problem on the demo pages? http://jquery.malsup.com/block/

[jQuery] Re: asynchronous, IE, and BlockUI

2009-02-13 Thread Mike Alsup
> I have the exact same problem as this post below from a while back, > which got no valid response. The reason that I need to use synchronous > calls is that on some ajax submittals we either submit the entire page > or return a message to the user, depending on validations - > asynchronous will

[jQuery] Event for on movement

2009-02-13 Thread Mgan59
Need to bind an event that is triggered when a dom elements left or top position changes. Any help would be great. thanks, m

[jQuery] Re: jQuery validation question: validating multiple email inputs

2009-02-13 Thread Ed Lerner
I'm new to jQuery as well. In other languages, you would take the string that holds all of the emails and do a 'split' on commas. This should give you an array where each element is an individual email. >From there, just validate each element. How to do this in jQuery, someone more experienced tha

[jQuery] Jcarousel - Can I make a jcarousel completely reset and reload!

2009-02-13 Thread FruitBatInShades
I am having terrible trouble gettinga jcarousel to reset. I have a series of tabs that when clicked get the jcarousel to load witha new set of items. I have been trying for days, trying the ajax demos and just replacing the content by setting the html() but to no avail. it works but the carousel

[jQuery] Is there a way to use object detection to "sniff out" jQuery?

2009-02-13 Thread lerxst
My question is pretty straightforward. Using only object detection, is there a way to determine whether or not jQuery will function in that browser. Say something like: // if your browser supports these js objects used in jQuery if (objectA && objectB && objectC...) then dynamically output

[jQuery] Is local javascript evaluation possible, instead of globalEval?

2009-02-13 Thread BDowling
I'm writing an Ubiquity command and I want to pull in some remote HTML/ Javascript. The code I currently have is like so: var doc = CmdUtils.getDocument(); var url = "http://my-remote-url";; jQuery.get(url, function(data) {

[jQuery] asynchronous, IE, and BlockUI

2009-02-13 Thread Charles H
I have the exact same problem as this post below from a while back, which got no valid response. The reason that I need to use synchronous calls is that on some ajax submittals we either submit the entire page or return a message to the user, depending on validations - asynchronous will not work f

[jQuery] jQuery w ajaxCFC

2009-02-13 Thread Neil Bailey
We are currently running CF7 (management feels if it ain't broke), and have been using ajaxCFC for about three years now. We are looking to update our AJAX methodology, and Chris Jordan had strongly suggested we check out jQuery. We are also pretty entrenched w/ EXT for the front end UI, and

[jQuery] Re: Accessing a JSON property from an unknown variable?

2009-02-13 Thread Josh Nathanson
foo[fooProp] // returns "barVal" Is that what you mean? -- Josh -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Nic Sent: Friday, February 13, 2009 4:06 PM To: jQuery (English) Subject: [jQuery] Accessing a JSON property from an unk

[jQuery] Re: Accessing a JSON property from an unknown variable?

2009-02-13 Thread James
alert( foo[fooProp] ); On Feb 13, 2:05 pm, Nic wrote: > For instance, > > var foo = { > "bar": "barVal", > "baz": "bazVal" > > } > > var fooProp = "bar"; > > How can I access barVal through fooProp? > > I know this isn't exactly jQuery group discussion but I figured since > it was part of a jQue

[jQuery] Accessing a JSON property from an unknown variable?

2009-02-13 Thread Nic
For instance, var foo = { "bar": "barVal", "baz": "bazVal" } var fooProp = "bar"; How can I access barVal through fooProp? I know this isn't exactly jQuery group discussion but I figured since it was part of a jQuery system I could get away with it. Thanks!

[jQuery] Re: Validation - Adding Valid class

2009-02-13 Thread Jon
Thanks Rob but i'm not sure i fully understand. Do i do this within the success function? Or is there somewhere else i can do this like say: invalid: function(element) { $(element).parent("span").children("input, textarea").removeClass ("Valid") } That's where i'm confused - where exactly do

[jQuery] Re: change not working

2009-02-13 Thread James
Hmm... how about: $('#selectId').trigger('change'); On Feb 13, 1:09 pm, Mario Soto wrote: > Neither I did find troubles.. :P > > This is code like I use it. I check the select and then for it's value > check what to do. > > switch($('#selectId').val(){ >     case 1: >         // say hello >    

[jQuery] Re: Validation - Adding Valid class

2009-02-13 Thread RobG
On Feb 14, 8:42 am, Jon wrote: > With the validation i have managed to make it add a class called > 'Valid' to the label that the validation adds. However i want to make > it add a class (same name) to the textbox too. I've managed this by > doing: > >     success: function(element) { >        

[jQuery] Re: Best practice for replacing inline HTML function calls w/several arguments with an event handler

2009-02-13 Thread donb
And as an aside, I sure hope you aren't depending on the price given in the html to be sent back to the server as the price to charge for an item. You could end up selling a lot of $10 items for a penny apiece when a hacker changes the values before submitting the form. On Feb 13, 6:08 pm, RobG

[jQuery] Re: change not working

2009-02-13 Thread Mario Soto
Neither I did find troubles.. :P This is code like I use it. I check the select and then for it's value check what to do. switch($('#selectId').val(){ case 1: // say hello break; case 2: // say good bye break; case 3: case 4: case 5: //

[jQuery] Re: how to catch mouse click if it is also an onblur event

2009-02-13 Thread Klaus Hartl
Events do fire sequentially. Recommended read: http://dev.opera.com/articles/view/timing-and-synchronization-in-javascript/ --Klaus On 13 Feb., 21:54, pantagruel wrote: > Never mind, obviously should just catch the onmousedown. > > On Feb 13, 9:47 pm, pantagruel wrote: > > > I hope the above

[jQuery] Re: Best practice for replacing inline HTML function calls w/several arguments with an event handler

2009-02-13 Thread RobG
Eric P wrote: > Hi, > > I'm fairly new to jQuery (been using a few months now). Binding event > handlers to HTML objects via jQuery is awesome, > but I find myself struggling to find a solid (I.e., best practice) method for > getting numerous arguments to the event > handler that are pertine

[jQuery] Re: change not working

2009-02-13 Thread David Andrews
Hi Mario, You can trigger the change event in programatically in jquery after your update code ... // update code here $('#selectId').change(); Dave On 13 Feb 2009, at 22:40, Mario Soto wrote: Hello. I have a form where i update some fields if there are info on the database (autolad o

[jQuery] Re: change not working

2009-02-13 Thread James
I can't find any issues with what you have. Please post the validation part of your code. On Feb 13, 12:40 pm, Mario Soto wrote: > Hello. > > I have a form where i update some fields if there are info on the > database (autolad of data). Then I have to verify if some data must > been shown if ce

[jQuery] Validation - Adding Valid class

2009-02-13 Thread Jon
With the validation i have managed to make it add a class called 'Valid' to the label that the validation adds. However i want to make it add a class (same name) to the textbox too. I've managed this by doing: success: function(element) { $(element).addClass("Valid").parent("span").ch

[jQuery] change not working

2009-02-13 Thread Mario Soto
Hello. I have a form where i update some fields if there are info on the database (autolad of data). Then I have to verify if some data must been shown if certain conditions happens. When I change the value of a *select* changes, validations are made and I have binded that select for changes.

[jQuery] Re: Using jQuery Validation with Dot Net

2009-02-13 Thread Jon
Okay that's great, all working now! On Feb 11, 3:23 pm, Aaron Gundel wrote: > After looking this over, I found that the validator wasn't picking up > your submit button, which isn't really a button.  It's the link you > use to submit.  the validation plugin won't catch this because it > [your li

[jQuery] Re: Trouble with Validation Firing in ASP.NET

2009-02-13 Thread Jon
You might need to change the id you're searching for to: $(document).ready(function() { $("#aspnetForm").validate({ debug: true }); }); The ID in your code behind always gets changed to 'aspnetForm'. You can check in firebug to make sure you're using the correct ID

[jQuery] Re: Lightbox/ThickBox Accessibility

2009-02-13 Thread tres
Oh, ok. I thought you just meant user-friendly and extensible. Don't know why :\. You mentioned that you were using the .focus() event trigger. This will only work on elements that can receive the focus event, but when used on the correct elements should direct screen readers to the changed conte

[jQuery] Re: jQuery contextmenu problems

2009-02-13 Thread micho
Note that the contextmenu as such appears in both IE and Firefox, but the problem is when I try to left click a menu item in the context menu. Then the binding only works in IE but not in Firefox. Anyone?? On 10 Feb, 02:21, micho wrote: > I'm using the "jQuery contextmenu plugin" combined with

[jQuery] Re: how to catch mouse click if it is also an onblur event

2009-02-13 Thread pantagruel
Never mind, obviously should just catch the onmousedown. On Feb 13, 9:47 pm, pantagruel wrote: > I hope the above is clear. I have an click event that should be > happening at the same time that a blur event is happening (by clicking > on a link in a menu I am blurring the input field) which e

[jQuery] Re: Best practice for replacing inline HTML function calls w/several arguments with an event handler

2009-02-13 Thread James
I think a good way is to put the data into a separate JSON object and give them a unique ID (eg. item01, item02...), and assign that ID somewhere on the links to be clicked. var productList = { 'item01':{name:123-ABC, color:'red', price:9.99}, 'item02':{name:123-ABC, color:'blue', price:10.99

[jQuery] how to catch mouse click if it is also an onblur event

2009-02-13 Thread pantagruel
I hope the above is clear. I have an click event that should be happening at the same time that a blur event is happening (by clicking on a link in a menu I am blurring the input field) which event puts the display of the menu to none. It seems that when I do this however despite it is the click

[jQuery] Re: How to make an element *not* have a function attached...

2009-02-13 Thread Rick Faircloth
Nice try, but no prize yet... Given these scripts: $(document).ready(function() { $('#myTextarea').hide(); }); $(document).ready(function() { $('#hide').click(function() { $('#myTextarea').unbind().slideUp(); return false; }); }); $(document).ready(function()

[jQuery] Best practice for replacing inline HTML function calls w/several arguments with an event handler

2009-02-13 Thread Eric P
Hi, I'm fairly new to jQuery (been using a few months now). Binding event handlers to HTML objects via jQuery is awesome, but I find myself struggling to find a solid (I.e., best practice) method for getting numerous arguments to the event handler that are pertinent to the object that trigger

[jQuery] Re: Superfish - Super Subs

2009-02-13 Thread David Meiser
For the "items too wide" issue, you've got this set for all list-items: padding-right: 31px. You could adjust this with a padding-right rule for .sf-menu li li. This would help you "skinny" up the items. I'm not sure that I can help you with dropping items towards the center of the page. That s

[jQuery] Problem with BlockUI and IE7

2009-02-13 Thread Carl Von Stetten
I am migrating an application from one server to another. Both servers are Windows 2003, similarly configured. The only major difference is that I use ColdFusion for my CFML engine on my old server, and BlueDragon JX on my new server. Here is the problem: On my new server, when browsing using

[jQuery] Re: How to make an element *not* have a function attached...

2009-02-13 Thread Josh Nathanson
This should work: $('#myTextarea').unbind(); // unbinds all handlers Then when you want to bind it again: $('#myTextarea').expandable(); -- Josh -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Rick Faircloth Sent: Friday, February

[jQuery] Re: How to make an element *not* have a function attached...

2009-02-13 Thread Frederik Ring
Ok, then you could do it like this: $(document).ready(function(){ $('#mytextarea').each(function(){ $(this).expandable(); }); $('#myButton').click(function(){ $('#mytextarea').unbind(); }); }); Although I might think there is a more elegant way to do this? Hope it helps though. On Feb 13

[jQuery] Selector broken with 1.3.1 vs 1.2.6

2009-02-13 Thread gibble
I was using 1.2.6 with the following line which worked perfectly. row.find("select." + name + " option[value='" + value + "']").attr('selected', true); Now with 1.3.1 a javascript error is happening A Runtime Error has occurred. Do you wish to Debug? Line: 4723 Error: Exception thrown and not

[jQuery] Re: How to make an element *not* have a function attached...

2009-02-13 Thread Rick Faircloth
To answer your question, hopefully, the element, in this case a textarea, is set up like this: $(function() { $('#myTextarea').expandable(); }); ...and that's it. It would be active as "expandable" all the time. So, there's no "event", like click, etc., that triggers

[jQuery] Re: Superfish Vertical

2009-02-13 Thread amuhlou
the problem is in your css: #mainBg in your css file has "overflow: hidden" on it. when you remove that, the menus work as intended. It does, however, make the white background for the div go away. You can get around this by adding background-color: #FFF; to #mainLeft instead. cheers, ~amy O

[jQuery] Re: Prepended row, slide-in, showing only first cell

2009-02-13 Thread Mark Steudel
Follow up question, if I instead wanted to use multiple table cells instead of one big colspan, is there a way to do this same sort of thing without a div? On Feb 12, 11:35 pm, mkmanning wrote: > That should read "..first-child of its parent,.." in the first > sentence > > On Feb 12, 11:33 pm,

[jQuery] Re: Prepended row, slide-in, showing only first cell

2009-02-13 Thread Mark Steudel
Thanks I'll give that a shot! On Feb 12, 11:35 pm, mkmanning wrote: > That should read "..first-child of its parent,.." in the first > sentence > > On Feb 12, 11:33 pm, mkmanning wrote: > > > Actually, Mark's use of 'first-child' is correct. ':first-child' is > > used to indicate the the elemen

[jQuery] Re: How to make a secured login form

2009-02-13 Thread James
Okay, here's a simple way to understand it. Suppose in your login.php, if the user login is successful, you have login.php echo '1'. If not, echo something else, like '0'. This response will become stored in the 'msg' variable in your success function in your ajax. success: function(msg) { i

[jQuery] Re: How to make an element *not* have a function attached...

2009-02-13 Thread Frederik Ring
This should be done using $(this).unbind(event,function). I don't know from your example how your handle the event so I cannot give you a more specific answer. On Feb 13, 7:57 pm, "Rick Faircloth" wrote: > Strange question, perhaps...but... > > If I have an element that has an function from a pl

[jQuery] Re: Jquery Validaiton plugin

2009-02-13 Thread James
$(form).validate({ rules: { name: required }, debug: true < is this here?? }); If that's not the case, if you could post some code, that would be very helpful. Maybe there is an error in your code preventing it from submitting. On Feb 13, 12:46 am, Hellofrom wrote:

[jQuery] How to make an element *not* have a function attached...

2009-02-13 Thread Rick Faircloth
Strange question, perhaps...but... If I have an element that has an function from a plug-in attached to it, such as: $(function() { $('#myTextarea').expandable(); }); How would I then be able to make #myTextarea "not .expandable"... $('#myTextarea').expandable('disable'); ... Is this

[jQuery] Re: How to make a secured login form

2009-02-13 Thread phicarre
I tried by doing header("Location:welcome.php") but the page is not displayed ??? The first module is waiting for an answer. This is probably that doesn't run ??? Show me how you did it On 13 fév, 19:45, Ashit Vora wrote: > Hey, why dont u redirect to Welcome.php page from the page where u

[jQuery] Re: jquery 1.3 and scrollTo plugin

2009-02-13 Thread James
I've been using the scrollTO plugin with jQuery 1.3 and it's been working as expected for me so far. Take a try at it and see if it works. On Feb 13, 8:09 am, introvert wrote: > Hello > > I wanted to use jquery scrollTo plugin but it seems like its > incompatibile with jquery 1.3 > > The plugin

[jQuery] Re: error binding event with anchor tag

2009-02-13 Thread Ashit Vora
Bingo, It worked... I 've been trying to solve this issue for more than 3 hrs. Thanks James :) On Feb 13, 10:41 am, James wrote: > Yes, it's because they were re-added after you initially binded > events. > There are two ways around that: > 1) re-bind the event to the new widget, or > 2) use jQu

[jQuery] Re: How to make a secured login form

2009-02-13 Thread James
Do you want a refresh on the current page when the login is successful? Upon successful login, it will refresh your current page (welcome.php), then the script (welcome.php) will see that the user is logged in and will display the welcome screen content rather that the login content. Or would you

[jQuery] Re: How to make a secured login form

2009-02-13 Thread Ashit Vora
Hey, why dont u redirect to Welcome.php page from the page where u r authenticating the user. eg. suppose you make ajax request to auth.php for validation, If validation succeed, redirect to welcome.php (and the ajax request which was waiting for response will die) and if failed, write response b

[jQuery] Re: error binding event with anchor tag

2009-02-13 Thread James
Yes, it's because they were re-added after you initially binded events. There are two ways around that: 1) re-bind the event to the new widget, or 2) use jQuery 1.3's new live() function: http://docs.jquery.com/Events/live#typefn Bind once, and you're good to go for future elements also. On Feb

[jQuery] Superfish Vertical

2009-02-13 Thread bellaluna316
The hover flyouts are cut-off in FireFox and IE 8. You can only see part of the link and it cuts off the rest. It works fine in IE 7. View with FF or IE 8: www.royalmbc.org/joomla

[jQuery] error binding event with anchor tag

2009-02-13 Thread Ashit Vora
Hi, I 'm new to jQuery and 'm facing a some problem binding click event, a function to an anchor tag. I 've an anchor tag with ID add. $('.add').click(function(){ var newElem = "Temp Text Displayededit delete"; //alert(newElem);

[jQuery] Re: How to make a secured login form

2009-02-13 Thread phicarre
The question was "How to call welcome.php from my jquery script in a secured manner ?" because welcome.php is visible from the client side. On 13 fév, 13:19, Rene Veerman wrote: > Rene Veerman wrote: > >            //    $pwh = md5 ($users->rec["user_password_hash"] . > > $challenge); > > Ehm, b

[jQuery] Re: Superfish - Super Subs

2009-02-13 Thread Merrick Christensen
http://hfh.redolive.net/ thats a link to the site with the issue. http://hfh.redolive.net/superfish.css thats a link to the css. Thanks for your help David.

[jQuery] jquery 1.3 and scrollTo plugin

2009-02-13 Thread introvert
Hello I wanted to use jquery scrollTo plugin but it seems like its incompatibile with jquery 1.3 The plugin is available on this address (demos use jquery 1.2.): http://demos.flesler.com/jquery/scrollTo/ Does anyone know of any plugin with similar functionality but with difference that it works

[jQuery] Re: Superfish - Super Subs

2009-02-13 Thread David Meiser
Merrick: Can you provide a link to your CSS? On Thu, Feb 12, 2009 at 3:31 PM, Merrick Christensen < merrick.christen...@gmail.com> wrote: > > I am struggling with the width on my Superfish menu. I reduced the min > width and it seems that it still is much longer then needed. My > primary struggl

[jQuery] Re: incomplete data receive with POST method

2009-02-13 Thread rocky
On Feb 13, 2:54 am, James wrote: > Please post to the group instead of emailing directly to me. You'll > probably have a better response. Thanks. > > You're right about that. I didn't realize it was POST. Try using: > data: {book:list}, > instead and see if it works. > > ---

[jQuery] [validate] jQuery validation question: validating multiple email inputs

2009-02-13 Thread roryreiff
Hi there, I am using the Validation plugin to validate a form that emails the current pages URL to the recipients entered in to the "email to" field. I want to validate that field for multiple emails addressed separated by commas...and ideas on how to do this? I'm a bit new to jQuery so I am a li

[jQuery] Re: [validate] message containers and valid XHTML markup?

2009-02-13 Thread martin
oh you legend, that works! that's an amazing plugin you've made, many thanks :) thanks again, Martin On Feb 13, 5:07 pm, Jörn Zaefferer wrote: > Add this: > > errorContainer: $(".js_error_container") > > That'll show and hide the container accordingly. > > Jörn > > On Fri, Feb 13, 2009 at 6:03

[jQuery] Re: Why does $.width return innerWidth but set outerWidth?

2009-02-13 Thread [rob desbois]
Filed on trac too: http://dev.jquery.com/ticket/4146 --rob On Feb 13, 5:04 pm, "[rob desbois]" wrote: > Hi Brandon, > > Give this a whirl:http://pastebin.com/d20276791 > Shows the described behaviour in Firefox 3.0.6 > > o_0 > > --rob > > On Feb 13, 2:34 pm, Brandon Aaron wrote: > > > This is

[jQuery] Re: Is there a way to make a textarea that auto expands as needed?

2009-02-13 Thread Rick Faircloth
Thanks, Charlie.got this one! Rick From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Charlie Griefer Sent: Friday, February 13, 2009 10:52 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Is there a way to make a textarea that auto expands as needed?

[jQuery] Re: [validate] message containers and valid XHTML markup?

2009-02-13 Thread Jörn Zaefferer
Add this: errorContainer: $(".js_error_container") That'll show and hide the container accordingly. Jörn On Fri, Feb 13, 2009 at 6:03 PM, martin wrote: > > Hey thanks Jörn, I've got it 95% working, hope you can help with the > last 5% > > If you take a look here: > http://stuweb.cms.gre.ac.u

[jQuery] Re: Why does $.width return innerWidth but set outerWidth?

2009-02-13 Thread [rob desbois]
Hi Brandon, Give this a whirl: http://pastebin.com/d20276791 Shows the described behaviour in Firefox 3.0.6 o_0 --rob On Feb 13, 2:34 pm, Brandon Aaron wrote: > This isn't the normal behavior. Could you create a test case for this? > > -- > Brandon Aaron > > On Fri, Feb 13, 2009 at 5:07 AM,

[jQuery] Re: [validate] message containers and valid XHTML markup?

2009-02-13 Thread martin
Hey thanks Jörn, I've got it 95% working, hope you can help with the last 5% If you take a look here: http://stuweb.cms.gre.ac.uk/~tm514/multibook/register.php I want to completely hide the red div from showing until the validate function is fired off, ive tried adding display:none to the css bu

[jQuery] Re: jquery.form -- file upload problem

2009-02-13 Thread QNC
It takes me too much time but I solved my problem: I started with a blank html page and I added element after element until I rebuilt my entire initial page! Weird is not it ? No difference at all in content! However (thanks to livehttpheaders) the html page was served with text/html as content-t

[jQuery] ajax post with tinymce

2009-02-13 Thread david.0pl...@gmail.com
I need to have this: function nuovo_articoloPOST(){ //Se e solo SE il form è stato validato if($("#nuovo_articolo").valid()) { //Assegna alle variabili il nome del campo! var imageName = $("#imageName").attr("value"); var titolo

[jQuery] Re: simple onclick visit event on div

2009-02-13 Thread Liam Potter
sorry, I gave you the wrong syntax, should of been $(document).ready(function() { $("div.image_single").click(function () { var url = $(this).find("a").attr('href'); window.location = url; }); }); introvert wrote: I get an error with the follow

[jQuery] Re: simple onclick visit event on div

2009-02-13 Thread introvert
I get an error with the following code: $(document).ready(function() { $("div.image_single").click(function () { var url = $(this).find("a").attr('href'); window.location(url); }); }); [Exception... "Cannot convert WrappedNative to function" nsresult: "0x8057000d (NS_ERROR_XPC_CANT_CONVERT_WN_TO

[jQuery] Re: One page site & multipage degradation

2009-02-13 Thread Fluffica
Why that works really rather well, actually solves other issues too, thank you very much. I'm getting into this jQuery stuff.

[jQuery] Re: Question about Interface elements

2009-02-13 Thread Richard D. Worth
On Fri, Feb 13, 2009 at 4:50 AM, Skari wrote: > > Hello all, > > I am in the early stages of developing a web portal and want to > provide a drag-n-drop of blocks, so users can pretty much configure > their own custom page. I am using Drupal as a CMS and found some > pretty well functioning modul

[jQuery] Re: Is there a way to make a textarea that auto expands as needed?

2009-02-13 Thread Charlie Griefer
http://groups.google.com/group/jquery-en/browse_thread/thread/a491baf8ac007588/8dd6c2498b572e5b#8dd6c2498b572e5b On Fri, Feb 13, 2009 at 7:30 AM, Rick Faircloth wrote: > Hi, Charlie… > > > > For some strange reason, your reply didn't show up here, > > as with Ricardo's. Can you resend? > > > >

  1   2   >