[jQuery] Re: "$ is not defined" error

2009-01-02 Thread Betty
Thank you, Mike. You're so patient and helpful! Apparently I didn't understand insertAfter() well enough. I thought it would move the object, not duplicate the object. Is there a function in jQuery that simply moves an object? Or, if I remove() the object, do I need to add() it again if I want to

[jQuery] How to call ClueTip direct and pass the Tip as a parameter

2009-01-02 Thread C.Everson
Hello, Is it possible to use ClueTip in such a manner as to simply "call" the ClueTip and pass it the title and tip as a parameter? I posted a question a few days ago about how to get ClueTip to open from a link in an Iframe document so that it opens in the parent window (instead of being "clipp

[jQuery] Re: Cannot get dynamically generated link to fire

2009-01-02 Thread Randy Johnson
Rick, That did the trick. Thank You! Randy On Jan 3, 12:18 am, "Rick Faircloth" wrote: > Just a possibility, Randy, but this might be one of those > cases where you could use the "LiveQuery" plug-in to re-bind > the link after the DOM has been updated with your new HTML. > > Check this out a

[jQuery] Re: "$ is not defined" error

2009-01-02 Thread Michael Geary
Do you notice that the page also blanks out when you get the error? Why is that? Try this: Open your page and open the Firebug panel. Now click the button that provokes the error. Then click on the filename in the Firebug error message (my.etc.js line 68). You should get the source code for you

[jQuery] Re: Will this code validate a number?

2009-01-02 Thread Rick Faircloth
Nevermind... I figured out what was wrong. I needed another / after the bracket to terminate the regex. > -Original Message- > From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On > Behalf Of Rick Faircloth > Sent: Friday, January 02, 2009 10:28 PM > To: jquery-en@goo

[jQuery] Re: Cannot get dynamically generated link to fire

2009-01-02 Thread Rick Faircloth
Just a possibility, Randy, but this might be one of those cases where you could use the "LiveQuery" plug-in to re-bind the link after the DOM has been updated with your new HTML. Check this out and see if it helps you. http://brandonaaron.net/docs/livequery/ Rick > -Original Message- >

[jQuery] Cannot get dynamically generated link to fire

2009-01-02 Thread Randy Johnson
The code is below. I cannot get the link that was added to the blue to be fired after the code is ran. It works fine for Item1 remove me link Any ideas? http://www.w3.org/1999/xhtml";> Untitled Document $(document).ready(function(){ $(".color").click(function(){ //alert(

[jQuery] Will this code validate a number?

2009-01-02 Thread Rick Faircloth
I'm running this code to validate that an entry into any field with a class of "number" is a number after all $,. are disregarded. I'm not getting any response on my page on blur for the field. Is there something wrong with this code? Thanks, Rick $(':input.number').each(function() {

[jQuery] "$ is not defined" error

2009-01-02 Thread Betty
I get this error in the Firefox error console: "$ is not defined". it points me to line $("div#respond>h3").html("Reply to"); I'm sure I've set jQuery properly because it works fine in other browsers and the other jQuery effects I use can work in Firefox. Only this part does not work. Actually, i

[jQuery] Adding an onClick funtion to existing working menu - need 2 or 3 things to unload/load

2009-01-02 Thread yvonney
Hi All... Really sorry to be going over this again. It's been one solid week all day and night. I know more, though not enough yet. Hope this is easy to understand. I REALLY need help. I've tried 100's of things all thru new years eve and day as well. hehehe WORKING menu must stay working though

[jQuery] Re: change()

2009-01-02 Thread Bob O
Actually ive been using firebug for a while as a CSS developer tool, and i was trying to debug the script, im just not a js guru.. Thank you for your help ;-) On Jan 2, 4:55 pm, Ricardo Tomasi wrote: > The "else" statement doesn't accept a condition. Change 'else' to > 'else if' and it should b

[jQuery] custom function call from document.ready

2009-01-02 Thread adeveloper
I have a table which needs to be sorted. Tablesorter plugin does not fully work. I am trying to call a simple alternate function from jQuery $(document).ready method. How to make it work? $(document).ready(function() { $("#tableID").tablesorter({ }); alternate('tableID');

[jQuery] Re: setInterval(obj.method,200) problem: scoping?

2009-01-02 Thread pete higgins
Because I'm an advocate for licensing and was told I probably should mention: the 'rescope' function is a stripped down version of Dojo's dojo.hitch function. Infinitely useful in the real world, but technically if used [in production] should retain attribution. It is available under new BSD and

[jQuery] Re: setInterval(obj.method,200) problem: scoping?

2009-01-02 Thread Alexandre Plennevaux
nice example, now i think i get it. Indeed actionscript (v2 at least) is based on ecmascript, much like javascript if i'm not mistaken. I came to web design/dev from actionscript one and gradually made my way to jquery. Anyway, actionscript keeps you away from the internal cooking by using a meta

[jQuery] Re: How to set the HTML background

2009-01-02 Thread Klaus Hartl
That's not true. You can set the html element's background... html { background: yellow; } The reason it doesn't work here is that there is no document.html property. You either can reference the element via document.documentElement or just via "html" selector: $("html").css("background", "

[jQuery] Re: setInterval(obj.method,200) problem: scoping?

2009-01-02 Thread Alexandre Plennevaux
Thanks a lot Peter, that function is really neat ! On Sat, Jan 3, 2009 at 2:25 AM, pete higgins wrote: > > Here is your orig snippet rewritten to use the rescope function I pasted: > > var datascape = { > 'mouseX': 0, > 'myInterval': 0, > 'create': function(){ > $('#datascape').bind('mou

[jQuery] Re: setInterval(obj.method,200) problem: scoping?

2009-01-02 Thread Michael Geary
Thanks, Alexandre, it's kind of you to say that. About this code... > datascape.myInterval = setInterval(window.datascape.move,400); Let's break it down a little. It's exactly the same as doing: var callback = window.datascape.move; datascape.myInterval = setInterval( callback, 400 ); As

[jQuery] Re: jQuery Validate plugin with cake php form won't submit

2009-01-02 Thread brian
On Fri, Jan 2, 2009 at 8:19 PM, nate wrote: > > Brian > > thanks for the tip. I tried both single and double quotes but that > didn't work. hmmm ... I just found this in the docs: http://docs.jquery.com/Plugins/Validation/Reference#Fields_with_complex_names_.28brackets.2C_dots.29 Did you also

[jQuery] Re: jQuery Validate plugin with cake php form won't submit

2009-01-02 Thread nate
Got it working with "data[UserContactDetail][phone]": {phoneUS: true} and instead of using echo $form->input('phone'); to generate the code I manually typed . I am unsure as to why the auto generated field doesn't work since it looks the same to me.

[jQuery] Re: How can I call a function if I have that function name stored in a string?

2009-01-02 Thread yellow1912
Hi Mike, I can't thank you enough for taking your time to teach this newbie how to do it right. I really appreciate your help Sincerely Raine On Jan 2, 12:40 pm, "Michael Geary" wrote: > Don't thank me, Joe, thank Brendan Eich who developed JavaScript. :-) > > (But thanks for your comment the

[jQuery] Re: setInterval(obj.method,200) problem: scoping?

2009-01-02 Thread pete higgins
Here is your orig snippet rewritten to use the rescope function I pasted: var datascape = { 'mouseX': 0, 'myInterval': 0, 'create': function(){ $('#datascape').bind('mousemove', rescope(this, function(e) { this.mouseX = e.pageX; })).bind("mouseover", rescope(t

[jQuery] Re: jQuery Validate plugin with cake php form won't submit

2009-01-02 Thread nate
Brian thanks for the tip. I tried both single and double quotes but that didn't work.

[jQuery] Re: Event callback question

2009-01-02 Thread Cam Spiers
Interesting I have figured out the reason why your example didn't work(and now does). It doesn't work when you have elements in the array which don't need animation/are in the same state initially as the final animation state. So I now have an active class indicating it's state and the selector I

[jQuery] Re: Absolute Image location

2009-01-02 Thread brian
On Fri, Jan 2, 2009 at 5:26 PM, MarkAtHarvest wrote: > > > I am trying to run a javascript for a dropdown menu, I need to access the > down.gif from images/down.gif , I have two links from where I need to > include this javascript > > one link is in index.jsp in root folder and other is /admin/li

[jQuery] Re: setInterval(obj.method,200) problem: scoping?

2009-01-02 Thread Alexandre Plennevaux
Michael, did you know that i 'm becoming a big fan of your explanations? if i follow your explanation correctly, this should have worked, isn't it ? datascape.myInterval = setInterval(window.datascape.move,400); Yet it didn't. I guess i 'm kind of assimilating the javascript window object to ac

[jQuery] Re: jQuery Validate plugin with cake php form won't submit

2009-01-02 Thread brian
On Fri, Jan 2, 2009 at 2:32 PM, nate wrote: > > Jörn, > > Thanks for your response. > > I got it to submit with > > submitHandler: function(form) { > form.submit(); > }, > > now I have a problem when using the cakephp form helper. > > This works with the manually created input >

[jQuery] Re: Event callback question

2009-01-02 Thread Ricardo Tomasi
Strange. In my tests the last element's callback was always called last. jQuery's animations are time-based, that means both animations should end at the same time, with a small offset for the last element at most. Anyway, you already have a solution. I had first rewritten yours before trying the

[jQuery] Re: script and strange behaviours with ie

2009-01-02 Thread Ricardo Tomasi
Forget browsers older than IE6, they are unsupported by jQuery (and ignored by most web developers). Your problem could be anything, do you have a test page we can take a look at, or some code? I guess it has to do with the ready/load events, as when you reload the page the images are in the brow

[jQuery] Re: change()

2009-01-02 Thread Ricardo Tomasi
The "else" statement doesn't accept a condition. Change 'else' to 'else if' and it should be fine, and start using Firebug for Firefox so you can debug your scripts, or "Visual Web Developer" for IE. On Jan 2, 2:04 pm, Bob O wrote: > I must not be getting it, this is whati have now, and it is st

[jQuery] Re: setInterval(obj.method,200) problem: scoping?

2009-01-02 Thread pete higgins
I've always found this bit of code useful: var rescope = function(scope, method){ if(!method){ method = scope; scope = null; } if(typeof method == "string"){ scope = scope || window; if(!scope[method]){ throw(['method not found']); }

[jQuery] Re: JQUERY .POST PROBLEM

2009-01-02 Thread Michael Geary
That is an excellent idea; I agree completely. There's nothing inefficient about it either. It also leaves the door open to return additional data without breaking your existing code. { "valid":true } { "valid":false } Now if you want to add other properties to that data, you don't have to cha

[jQuery] Absolute Image location

2009-01-02 Thread MarkAtHarvest
I am trying to run a javascript for a dropdown menu, I need to access the down.gif from images/down.gif , I have two links from where I need to include this javascript one link is in index.jsp in root folder and other is /admin/list.jsp. Now the question is if I access the images with location i

[jQuery] Re: is it possible to get result of this

2009-01-02 Thread merihsaka...@yahoo.com
ok. I did it :) I can get the position of the image.. thank you "the_woodsman" :)

[jQuery] Re: JQUERY .POST PROBLEM

2009-01-02 Thread donb
This is probably a good reason to make it a habit to return a JSON object, so that the data is not simply a string of characters with the associated ambiguities. I realize this leaves me open to counterarguments of 'it's not a efficient' but really that's a minor worry (to me that is). On Jan 2,

[jQuery] Re: Adding to a group of Radio buttons

2009-01-02 Thread Mauricio (Maujor) Samy Silva
Hi Carrajo, W3C HTML specs says: associate a label with a form control. There are two standards ways to makup the label element - explicitly and implicity. See: http://www.w3.org/TR/REC-html40/interact/forms.html#edef-LABEL So, lets rewrite your markup using label implicity: Honda Toyota

[jQuery] Re: Submit not propagating.

2009-01-02 Thread TimW66
I gotta admit, I didn't think this would work, but it did. I thought it didn't matter what the name and/or id of an input box was, as long as the id was unique. Guess I was wrong. Thanks for your help, I would have never thought of that! On Jan 2, 4:01 pm, RobG wrote: > On Jan 3, 3:17 am, Tim

[jQuery] Re: JQUERY .POST PROBLEM

2009-01-02 Thread Michael Geary
Good point. Of course, data.length is a number, so it won't have a newline to worry about anyway. But if you're just displaying the data *string*, the brackets (or choose your favorite delimiter) are an excellent idea: console.log( '[' + data + ']' ); That would make it obvious if data has a n

[jQuery] Re: Event callback question

2009-01-02 Thread Cam Spiers
Thats cool thanks Brian and Ricardo for your time. Ricardo that did look really good but it doesn't work for me. jQuery("div.mainLiner div.panel").not(':last') .slideUp(750, function(){ console.log("not last"); }).end() .filter(':last') .slideUp(750, function(){ console.log("last"); //callback }

[jQuery] Re: setInterval(obj.method,200) problem: scoping?

2009-01-02 Thread Michael Geary
Hi Alexandre, Don't go adopting a coding practice just because of a single mailing list message. :-) There's nothing wrong with quoting property names in an object literal, but the majority of experienced JavaScript programmers do not quote them except when necessary. As an example, browse throu

[jQuery] Re: JQUERY .POST PROBLEM

2009-01-02 Thread Andy Matthews
I'm a fan of this approach: console.log('[' + data.length + ']') andy -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Michael Geary Sent: Friday, January 02, 2009 4:23 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: JQUERY .P

[jQuery] Re: JQUERY .POST PROBLEM

2009-01-02 Thread Michael Geary
The 'if' statement in JavaScript is reliable. If your "if( data == 'no' )" is taking the "else" path, the most likely reason is that the data variable is indeed not equal to "no". Even though the console.log showed a value of "no", are you sure there isn't a newline at the end? What does "consol

[jQuery] Adding to a group of Radio buttons

2009-01-02 Thread carrajo
These are the radio buttons on my form Honda Toyota Mazda Using jquery how can I add another selection to the list? Something like $label.append(' Ford'); ? I can't figure out the syntax. Any help please. Thanks

[jQuery] Re: Submit not propagating.

2009-01-02 Thread RobG
On Jan 3, 3:17 am, TimW66 wrote: > Thanks for the response.  I changed the name attribute to be "save", > but that didn't work either. Change the name and the id, neither should have a value of "submit". >  I think what's happening is there are > other event handlers getting executed in the f

[jQuery] Re: Submit not propagating.

2009-01-02 Thread TimW66
The context menu calls the following function (note, this function is called called from a simple "ul ... li" style of top menu, and the same behavior is observed there): function saveChanges(t, leaveScreen) { $('form').trigger('submit'); if( leaveScreen ) { exitSc

[jQuery] Re: is it possible to get result of this

2009-01-02 Thread merihsaka...@yahoo.com
Do you know any example of getting new position of dragged image?

[jQuery] jcarousel & jquery-1.1.3.1.pack

2009-01-02 Thread adamedoe
Hi! I'm working on a website, & I need to get the jcarousel (http:// sorgalla.com/jcarousel/) work with jquery 1.1.3.1 but it simply won't. The main carousel application uses jquery 1.2.3 Does it mean that it won't work on an earlier version? Was it major syntax changes between 1.1.3.1 & 1.2.3

[jQuery] Re: jQuery Validate plugin with cake php form won't submit

2009-01-02 Thread nate
Jörn, Thanks for your response. I got it to submit with submitHandler: function(form) { form.submit(); }, now I have a problem when using the cakephp form helper. This works with the manually created input rules: { phone: {ph

[jQuery] Re: Jquery coding direction

2009-01-02 Thread brian
On Fri, Jan 2, 2009 at 10:16 AM, tawright915 wrote: > > I'm having problems wrapping my head around how to code this: > > I have two textboxes both are required. However if a user fills out > one of the textboxes then the other is no longer required. > $('#the_form').submit(function() {

[jQuery] Re: How can I call a function if I have that function name stored in a string?

2009-01-02 Thread Michael Geary
Don't thank me, Joe, thank Brendan Eich who developed JavaScript. :-) (But thanks for your comment the other day about the .slowEach plugin... I guess I'll take credit for that one...) -Mike > From: Joe > > Nice trickery there Mike! I dig it! > > On Jan 2, 3:34 am, "Michael Geary" wrote: >

[jQuery] Re: Submit not propagating.

2009-01-02 Thread Joe
What is the code for the context menu? I have a hunch it is somewhere in there. Joe On Jan 2, 11:17 am, TimW66 wrote: > Thanks for the response.  I changed the name attribute to be "save", > but that didn't work either.  I think what's happening is there are > other event handlers getting exec

[jQuery] Re: How can I call a function if I have that function name stored in a string?

2009-01-02 Thread Joe
Nice trickery there Mike! I dig it! On Jan 2, 3:34 am, "Michael Geary" wrote: > I don't know about the $.fn.myplugin part - that's not how you would > typically call a plugin function in the first place. > > But in general, given any object 'foo' and any property 'bar', you can > reference the

[jQuery] Re: How can I call a function if I have that function name stored in a string?

2009-01-02 Thread Michael Geary
Yes, Raine, that would certainly work. A couple of notes... First, 'default' is a reserved word in JavaScript. You can use it as a method name if you want, but not using foo.default notation. That may work in some browsers, but you can't count on it working in all of them. You would have to use f

[jQuery] Re: is it possible to get result of this

2009-01-02 Thread merihsaka...@yahoo.com
Thanks alot, I'm trying to get position (coordinate) of the image.. Do you know how can I get their position? Its all code about drag.. $(document).ready( function() { $('#insideParent').Draggable( {

[jQuery] Re: How can I call a function if I have that function name stored in a string?

2009-01-02 Thread TimW66
I'm just taking a shot in the dark, but have you looked at eval()? I saw this used in a demo page, and thought it was ingenious. The text they want to execute is shown on the screen. The JS gets the text and calls eval() on it. This might get you what you want. On Jan 2, 10:57 am, yellow1912

[jQuery] script and strange behaviours with ie

2009-01-02 Thread Saledan
hello, I was sure that my script failed the ie execution test. IE7: activex and script check block the script, then allow and it works. IE6: it works IE5.5: my script waits the image loading with a animated gif, than show the images. This ie waits without end or errors. IE5, IE4: raise two errors

[jQuery] Re: Submit not propagating.

2009-01-02 Thread TimW66
Thanks for the response. I changed the name attribute to be "save", but that didn't work either. I think what's happening is there are other event handlers getting executed in the for loop, and one of those is returning a value that val gets set to, such that it doesn't propagate to the next fun

[jQuery] Re: How can I call a function if I have that function name stored in a string?

2009-01-02 Thread yellow1912
Thanks Mike, I'm following this tutorial here: http://www.learningjquery.com/2007/10/a-plugin-development-pattern I have several public functions like this: $.fn.response.redirect.default = function (){//something here}; $.fn.response.redirect.type1 = function (){//something here}; $.fn.respons

[jQuery] Re: firebug regression: console.log($('div')) less useful

2009-01-02 Thread Danny
Thanks; I didn't know about console.dir(). My workaround puts it on fewer lines, without all the jQuery plugins, so it's more useful. On Jan 2, 9:59 am, "Dan G. Switzer, II" wrote: > It's a Firebug change. Use console.dir() instead (but I agree--I like > the old console.log() method) > > On Fri,

[jQuery] Re: Submit not propagating.

2009-01-02 Thread Dave Methvin
I have a suspicion...give the button a name other than submit. http://jibbering.com/faq/names/

[jQuery] Re: How to set the HTML background

2009-01-02 Thread Andy Matthews
That's because you can't set the background color of the HTML tag. It doesn't have that attribute. Even if you could do that, one would override the other. What you probably want to do is to set the bg of the body tag, then set the bg of a container INSIDE the body like so: -Ori

[jQuery] Re: change()

2009-01-02 Thread Bob O
I must not be getting it, this is whati have now, and it is still not working as needed. $(document).ready(function() { var $select = $('select#campaign_type_select'); var $value = $select.val(); var $coupon_div = $('#campaign_create_coupon'); var $broadcast_div = $('#campaign_create_broa

[jQuery] Re: Submit not propagating.

2009-01-02 Thread TimW66
Anyone have an idea? On Dec 30 2008, 4:25 pm, TimW66 wrote: > Hi all, > > I have a submit button, and a function tied to it via $('form').submit > (function() { ... }); When the button is clicked, this function gets > executed, and the data gets sent to the server. However, I also call > this

[jQuery] Re: firebug regression: console.log($('div')) less useful

2009-01-02 Thread Dan G. Switzer, II
It's a Firebug change. Use console.dir() instead (but I agree--I like the old console.log() method) On Fri, Jan 2, 2009 at 1:10 AM, Danny wrote: > > Has anyone else noticed that Firebug before 1.2 would treat console.log > ($('div')) as an array and list all the matched elements on the > console

[jQuery] Re: jQuery UI Tabs (Selected tab item)

2009-01-02 Thread Richard D. Worth
You may want to ask on the jQuery UI mailing list: http://groups.google.com/group/jquery-ui which is a dedicated list for questions about jQuery UI plugins[*], in case your question was missed here. - Richard [*] http://rdworth.org/blog/2008/10/jquery-plugins-and-jquery-ui/ On Fri, Dec 19, 200

[jQuery] Re: JQUERY .POST PROBLEM

2009-01-02 Thread wattsup
Anyone have any ideals why when the if statement is being by-passed?

[jQuery] How to set the HTML background

2009-01-02 Thread BlueStunt
I want to be able to change the background of the page, I can successfully do $(document.body).css("background", "yellow"); but I have two separate css backgrounds, one sets the body tag and one sets the html tag. So how do I set the html tags background I've tried $(document.html).css("bac

[jQuery] Form manipulation - Advanced

2009-01-02 Thread carrajo
I'm new to jquery but I have no idea how to do this. Any help would be greatly appreciated and would lead down the correct path. Thank you in advance. There's 2 sections in my form. 1) Vehicle Makes Basically, I want the user to be able to enter their make if it's not in the list. Once the user

[jQuery] IE7: Setting ColSpan as Attribute

2009-01-02 Thread NRutman
This had me scratching my head for a while, so I wanted to share it in case it might help someone else: It seems that using JQuery's attr() function to set a table cell's colspan attribute does not always work properly. Sometimes although the attribute is set properly in the DOM (which can be ve

[jQuery] jquery skilled coder(s) needed for project

2009-01-02 Thread MobilePush
Hello, Looking to outsource a project that entails heavy jquery work for home page for a site thats based on Drupal (D5) CMS. Any candidates that could get involved with the project immediately or even maybe have a team that can handle it as time release is critical, please email me personally f

[jQuery] Where is syntax error ?

2009-01-02 Thread Bordeaux
Hi! I want to reuse examples of http://www.webdesignerwall.com/tutorials/jquery-tutorials-for-designers/ for an accordion. Here is Html code: Question One Sample Text Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi malesuada, ante at feugiat tincidun

[jQuery] Re: is it possible to get result of this

2009-01-02 Thread the_woodsman
Well, it all depends how you're intending to save the shirt customisations in the back end! Assuming you're saving some list of images for shirts (along with their positions) in your database, there's no reason this couldn't be done via ajax. I'd advise, however, making this save in a traditiona

[jQuery] Jquery coding direction

2009-01-02 Thread tawright915
I'm having problems wrapping my head around how to code this: I have two textboxes both are required. However if a user fills out one of the textboxes then the other is no longer required. Any suggestions? Thanks Tom

[jQuery] Live Search

2009-01-02 Thread simonteu...@googlemail.com
Hello Sometimes I hav problems with exscale.se's live search tool. When I integrate it to my site IE7 cannot load the webpage with the live search tool? Does someone have a clue or an other livesearch Tool? Greetings Simon

[jQuery] Re: Autocomplete plugin rare behaviour

2009-01-02 Thread R0bb13
Ok, this is my script and the piece of html that is related to it. The HTML: ... ... The JS code: $("#productname") .autocomplete("ax/suggest.html", { minChars: 2, max: 10, scroll: false, matchContains: true,

[jQuery] Re: form plugin and blockUI problems in IE7 with the ui not unblocking

2009-01-02 Thread tradeallday
I found the problem, it was an extra form tag that I had on the page nested in my other form tag. I copied and pasted in code for paging from the table sorter plugin and never removed the form tag from the example. Once I removed that it worked great. Thanks for your response. I have to say that t

[jQuery] Re: Change the date format of jquery calendar

2009-01-02 Thread Richard D. Worth
What version are you using? Also, more of your code (an entire simplified test page ideally) would help. Also note, there is a dedicated list for questions about jQuery UI plugins[*] http://groups.google.com/group/jquery-ui - Richard [*] http://rdworth.org/blog/2008/10/jquery-plugins-and-jquery-

[jQuery] is it possible to get result of this

2009-01-02 Thread merihsaka...@yahoo.com
Hi I am trying to do something with Jquery and Ajax But I am not sure that its possible or not. its my example, you can see what I am trying to do. http://www.unikhas.org/design/index.jsp I want to save all the things after I desing my tshirt. Is it possible to do that in Jquery or Ajax ? or shoul

[jQuery] Re: How to force a child page to open in iframe using jquery

2009-01-02 Thread AbhishEk
actually , the written javascript directly checks the url of browser nd if it finds a dff , it fires a location.replace command . Plz suggest how can i stop this default behaviour. On Fri, Jan 2, 2009 at 6:51 AM, Ricardo Tomasi wrote: > > If the iframe has access to the parent frame it's on the s

[jQuery] Re: jQuery Validate plugin with cake php form won't submit

2009-01-02 Thread Jörn Zaefferer
Could you post a testpage? Jörn On Fri, Jan 2, 2009 at 3:31 AM, nate wrote: > > I am using the jQuery Validate plugin with a form in cakePHP. When I > click submit the form is validated but not submitted to the server. > When I change the form name From user to user1 it submits properly so > it

[jQuery] Re: jQuery UI 1.6rc3 is out

2009-01-02 Thread Dirceu Barquette
Very good job!! Fantastic!!! Amazing Thank you! Dirceu Barquette 2009/1/1 Nathan Maves > great job guys! > is there going to be an easy way to view the source of the new functional > demos? > > On Wed, Dec 31, 2008 at 8:03 PM, Richard D. Worth wrote: > >> jQuery UI 1.6 release candidate 3

[jQuery] Window.Open code

2009-01-02 Thread JQueryProgrammer
I am trying to write a code for window.open in jQuery. here is my code: OpenNewWindow = function(strURL, winName, options) { this._settings = $.extend({ toolbar: no, location: no, directories: no, status: no,

[jQuery] Re: .html() only works on original source?

2009-01-02 Thread the_woodsman
Thanks for that, never done custom events before. Unfortunately, the whole idea of saving in the $input.data() doesn't work - I think this is because It's not technically the same DOM element, it's a new DOM form element, created from the same markup as one that had data attachments. I've attac

[jQuery] Re: parsing xml

2009-01-02 Thread Balazs Endresz
jQuery can't really parse xml, only html. But browsers can: http://www.w3schools.com/Xml/xml_parser.asp On Jan 2, 5:22 am, jhm wrote: > > jQuery needs a context for find() to work. > > That worked thanks! The xml file I was really using actually had a > context similar. But it also had a header

[jQuery] Re: Invalid Json Primitive

2009-01-02 Thread Balazs Endresz
Also, var params = '{wdgtype:"1"}'; should be var params = {wdgtype:"1"}; On Jan 1, 11:35 am, tep wrote: > Hello all, > > I am trying to create a widget within .NET that's why using JSONP. But when > i run the code below, i get the error 'Invalid Json Primitive' on client > side before calling w

[jQuery] Re: change()

2009-01-02 Thread Michael Geary
In an event callback function such as the one that's called from .change(), 'this' is not a jQuery object. It is a simple DOM element. You need to wrap it in $() to get a jQuery object if you want to use jQuery methods. Or, you can use DOM properties directly. I would also suggest using a $ prefi

[jQuery] Re: How can I call a function if I have that function name stored in a string?

2009-01-02 Thread Michael Geary
I don't know about the $.fn.myplugin part - that's not how you would typically call a plugin function in the first place. But in general, given any object 'foo' and any property 'bar', you can reference the 'bar' property in either of two ways: foo.bar Or: foo['bar'] If 'bar' is a met

[jQuery] Re: checkboxes, array and $.post

2009-01-02 Thread jjshell
You rock Ricardo! :) Thank you very much. Just one last question. The submit button (#submitButton) doesn't seem to be serialized along with other fields... And I need its value. How would you add it to the post collection? Regards, -jj. On 1 jan, 22:03, Ricardo Tomasi wrote: > That's what s

[jQuery] Re: jQuery 1.3b1 and the Galleria Plug-In

2009-01-02 Thread Nikola
The image thumbs don't stay active when selected for some reason. I still haven't really dove into Galleria yet as I'm working on some things with Dialog at the moment but I thought I'd mention it... @Deaven Select "Edit my membership" and choose your notification preferences...

[jQuery] Change the date format of jquery calendar

2009-01-02 Thread Praveen
Hi all i have one jquery calendar $('selector').datePicker(); which is giving me in dd/mm/ i want to change this format to -mm-dd i tried with $.datePicker.setDateFormat('ymd','-'); error: $.datePicker is undefined and tried with this code $("#sd").datepicker.setDateFormat('ymd','-')

[jQuery] Re: Noob Q. Can't get jQuery working

2009-01-02 Thread spstieng
I found and fixed the problem for Wordpress. In the header, I had the inline code: Code: var $j = jQuery.noConflict(); $j(function() { $j('#tab-panel1 ul').tabs({ fxFade: true, fxSpeed: 'fast' }); $j('#tab-panel2 ul').tabs({ fxFade: true, fxSpeed: 'fast' });

[jQuery] How can I call a function if I have that function name stored in a string?

2009-01-02 Thread yellow1912
Something like this var func = 'myFunc'; Can I call the function like this for example: $.fn.myplugin.(func)(); (I'm using this in a plugin I'm working on) Thank you very much

[jQuery] Re: jQuery 1.3b1 and the Galleria Plug-In

2009-01-02 Thread Deaven Butler
I am wanting to stop receiving these emails, but cannot get in to cancel them. I thought that I cancelled my account, but am still receiving the emails. Any ideas on how to shut this down? Deaven Butler On Jan 2, 2009, at 2:09 AM, Nikola wrote: Thats great info... I did the same but

[jQuery] change()

2009-01-02 Thread Bob O
Hello all, a little new the js and jquery any help would be fantastic... I have this in my linked myFx.js file: $(document).ready(function() { var selected_type = $('select#campaign_type_select'); var coupon_div = $('#campaign_create_coupon'); var broadcast_div = $('#campaign_create_broadc

[jQuery] Re: jQuery 1.3b1 and the Galleria Plug-In

2009-01-02 Thread Nikola
Thats great info... I did the same but in my case the caption text is missing where as the prev/next buttons are ok.