[jQuery] Dialog (jQuery UI Dialog) closes when i cancel a form submission

2009-04-22 Thread iceangel89
i have a form inside dialogs. i use ajaxForm plugin for my forms. i validate using beforeSubmit ... like in the example below. the strange thing is the dialog closes in the Add/Edit Type forms but not in the Add/Edit Category. the form did not submit which means the return false works but the

[jQuery] IE6/IE7 Error (Object doesn't support this property or method)

2009-04-22 Thread KhanZeeshan
Hi all, Problem that i'm facing is that i'm loading external ASPX pages in AJAX tabs..its working great in FF3.0,Safari,Chorme IE8 but it gives Object doesn't support this property or method error in IE6/IE7 when ever a new page is about to load in tab it also doesn't load... Please Fix this

[jQuery] Re: js query and wordpress. Cluetip stops working

2009-04-22 Thread moof
Hi karl no no I still want the js script to work. It' much nicer and .. i can put links in it. Now i'll had to work with a extra page.. But I couldn't affort to work with a site with a error in it. I just made a huge mailing list and a lot of publicity arround my new site.. In belgium we call

[jQuery] Re: Communicating Info from Server to Javascript, Prior to Ajax Calls?

2009-04-22 Thread Vik
Thanks for the feedback, Jordon. Let's say it's not something that belongs in the cookie. Then is it correct to do it via a hidden field? On Apr 19, 2:59 pm, Jordon Bedwell jor...@envygeeks.com wrote: If you use PHP then it's better to have it output the userID as a variable already inside of

[jQuery] Re: IE6/IE7 Error (Object doesn't support this property or method)

2009-04-22 Thread Jonathan Vanherpe (T T NV)
KhanZeeshan wrote: Hi all, Problem that i'm facing is that i'm loading external ASPX pages in AJAX tabs..its working great in FF3.0,Safari,Chorme IE8 but it gives Object doesn't support this property or method error in IE6/IE7 when ever a new page is about to load in tab it also doesn't

[jQuery] Re: Communicating Info from Server to Javascript, Prior to Ajax Calls?

2009-04-22 Thread Jordon Bedwell
The decision is up to you really because no way is wrong but always remember with things like that if they are going through Ajax to check the id is numeric and validate it in the backend. Its really easy to hack up the DOM Cookies tend to more secure in a sense so it might be more sensible to

[jQuery] Re: Validation plugin (bassistance.de) problem

2009-04-22 Thread Jonas
Yeah, I know about the regular behaviour, but the problem is that the live validation behaves incorrect. When it validates an input as valid, it sometimes doesn't revalidate it when you clear the field (so it should state as invalid, but it still says it's valid). The behaviours is random.

[jQuery] Bug? Jquery 1.3.2 - $.ajax + Firefor 3.0.8

2009-04-22 Thread Mario Soto
The $.ajax function is causing me trouble, I'm using Mozilla Firefox 3.0.8 in a Kubuntu 8.10 computer, with php PHP/5.2.6-2ubuntu4.2 and web server Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.2 with Suhosin- Patch and jQuery version 1.3.2. If I use dataTipe: 'json' and type:'post' with $-ajax,

[jQuery] Re: IE6/IE7 Error (Object doesn't support this property or method)

2009-04-22 Thread Jonathan Vanherpe (T T NV)
It seems like your code depends on some modules other than jquery itself, and i don't think all the relevant code is in there. I think it would still be better to post a link to the page you made, or even better, reduce it to a test case that shows the problem. Does your html validate at

[jQuery] Re: IE6/IE7 Error (Object doesn't support this property or method)

2009-04-22 Thread KhanZeeshan
What do you mean by VALIDATE?Give me your EMail ID i'll mail you the whole code. On Apr 22, 2:59 pm, Jonathan Vanherpe (T T NV) jonat...@tnt.be wrote: It seems like your code depends on some modules other than jquery itself, and i don't think all the relevant code is in there. I think it

[jQuery] Removing anonymous element

2009-04-22 Thread dth
Hi, I have a jquery array with an element in it. I'd like to remove this element from the DOM, but can't see how. If I use var.remove() it removes all children but not the element itself. I cannot think of any way to specify this very element in a selector either, as it can have various

[jQuery] Re: IE6/IE7 Error (Object doesn't support this property or method)

2009-04-22 Thread KhanZeeshan
JQuery Code: code function Tabs(jQuerySelector) { $(jQuerySelector).tabs(); this.bag = new Array(); this.add = function(title, uniqueHash) { var deleteString = 'a href=#img border=0 class=tab_delete src=Images/delete-img.png onclick=tabs.remove('; deleteString += ';

[jQuery] Re: Validate form onload/reload

2009-04-22 Thread Skatan
I got it to work! Solution: body onload='Javascript:$(#texttests).valid();' Thanks! /N On 17 Apr, 20:09, Skatan i...@klejm.se wrote: I would like to validate my form with jQuery when the pages directly when the page is loading without need of submit, keyup. This because I want it to work

[jQuery] select only the father

2009-04-22 Thread gostbuster
Hi everyone, I'm getting in trouble with this problem, I have several divs which contains an image, and another div. we can imagine somethin like that : div class=container div class=img...my image.../div div class=deletedelete/div /div What I want to do is, when I put the

[jQuery] Re: select only the father

2009-04-22 Thread Zeeshan Khan
Instead of call the parent you can call Only that DIV of which u want to change the background color $(document).ready(function(){ //action when the mouse is over : $(#delete).mouseover(function(){ // I select the .delete divs. //now i want to

[jQuery] tow live event imbriqued

2009-04-22 Thread ghaliano
Hi all ; i have a classic system to add remove line to a form with to image (i target them with class name add and remove) this first fuctionality must be executed with live event . But whene i remove all my line i should add a new button but the live event on it not seem to be fired This is my

[jQuery] Re: select only the father

2009-04-22 Thread gostbuster
Hi, thank you for you answser. Of course I could do that, expect that I'll have an undefined number of container div. That's why I gave them classes and no id ! Thank you On 22 avr, 13:17, Zeeshan Khan khan.zeesha...@gmail.com wrote: Instead of call the parent you can call Only that DIV of

[jQuery] Re: Bug? Jquery 1.3.2 - $.ajax + Firefor 3.0.8

2009-04-22 Thread Daniel
This may be silly, but I notice you put dataTipe instead of dataType. If this is what your code looks like also, then there is your problem right there... On Apr 22, 4:56 am, Mario Soto canc...@gmail.com wrote: The $.ajax function is causing me trouble, I'm using Mozilla Firefox 3.0.8 in a

[jQuery] Re: Assigning a List of Key-Value Pairs to a DIV Tag

2009-04-22 Thread George Adamson
Hi Kiusau, The other 2 suggestions should help. You may also like to try using jQuery's.each method. Something like: var flowerColor = {rose: red, tulip: pink, daffodil: yellow}; $.each(flowerColor, function(flower,color){ this.append(Flower name and color: + flower + : + color + .br /);

[jQuery] Re: select only the father

2009-04-22 Thread Daniel
try this... $(.delete).hover(function(){ $(this).parent().css('background- color','red'); }, function() { $(this).parent().css('background- color','white'); }); On Apr 22, 6:25 am, gostbuster

[jQuery] Re: Removing anonymous element

2009-04-22 Thread Daniel
var.parent().remove() should do the trick i think? On Apr 22, 5:47 am, dth dennis.thry...@gmail.com wrote: Hi, I have a jquery array with an element in it. I'd like to remove this element from the DOM, but can't see how. If I use var.remove() it removes all children but not the element

[jQuery] Re: select only the father

2009-04-22 Thread Zeeshan Khan
class container contains the CSS code right?if u assign ID to all of your parent div it'll be very helpful for u in this case also in many other scenarios or you can create CSS design on the basis of IDs. On Wed, Apr 22, 2009 at 4:25 PM, gostbuster jeremyescol...@gmail.comwrote: Hi, thank you

[jQuery] How to catch mouse position inside an area?

2009-04-22 Thread David .Wu
If I got a 400px width div, can I get the offset left distance from mouse to the div in where I click?

[jQuery] Re: select only the father

2009-04-22 Thread Zeeshan Khan
Daniel's Suggestion is simple i think it might work for u. On Wed, Apr 22, 2009 at 4:31 PM, Daniel dcosta...@gmail.com wrote: try this... $(.delete).hover(function(){ $(this).parent().css('background- color','red'); }, function() {

[jQuery] Re: select only the father

2009-04-22 Thread gostbuster
Thank you very much! it works ! thanks a lot ! On 22 avr, 13:31, Daniel dcosta...@gmail.com wrote: try this...                 $(.delete).hover(function(){                         $(this).parent().css('background- color','red');                 }, function() {                        

[jQuery] Re: Removing anonymous element

2009-04-22 Thread dth
As far as I can see, that would remove my element as well as all of it's siblings? -dennis On 22 Apr., 13:36, Daniel dcosta...@gmail.com wrote: var.parent().remove() should do the trick i think?

[jQuery] Re: tow live event imbriqued

2009-04-22 Thread Daniel
I can't tell 100% from looking at the code... but it seems like you don't need to have that code inside the if statement. putting the: $('.exploitation_seat span.addIfEmpty').live('click', function(){ elementInQuestionParent.append(contentToInsert) ; }) code anywhere in the

[jQuery] Re: Removing anonymous element

2009-04-22 Thread Daniel
It shouldn't. there is parent() and parents(). I use that exact code for a tag system that i created. I'd link you to it... but it's not public yet. The code is exact, the properties changed are different. On Apr 22, 6:40 am, dth dennis.thry...@gmail.com wrote: As far as I can see, that would

[jQuery] Re: select only the father

2009-04-22 Thread Daniel
I'm very glad! On Apr 22, 6:38 am, gostbuster jeremyescol...@gmail.com wrote: Thank you very much! it works ! thanks a lot ! On 22 avr, 13:31, Daniel dcosta...@gmail.com wrote: try this...                 $(.delete).hover(function(){                        

[jQuery] Re: Bug? Jquery 1.3.2 - $.ajax + Firefor 3.0.8

2009-04-22 Thread donb
Sounds more like the data type expected IS 'json' but the data coming in is not valid JSON so it gets discarded. With the data type interpreted as text, it's returned as-is. It would be a good idea to open the URL providing this data in your browser and examine the data, perhaps pasting it into

[jQuery] Re: Removing anonymous element

2009-04-22 Thread Daniel
Wait. I'm sorry... the second half of my response was for a different post relating to parent and parents. I have not tested that in the wild. It should, however, not remove the siblings for the same reason. On Apr 22, 6:45 am, Daniel dcosta...@gmail.com wrote: It shouldn't. there is parent()

[jQuery] IE7 Thrown Invalid Argument Bug resurfaced

2009-04-22 Thread Daniel
I know this area of code was recently fixed for IE8 issues, but something else is going wacky. line 1065 and 1002 elem[ name ] = value; change this to try{elem[ name ] = value;} catch (err){}; and you're avoid errors being thrown in IE7 when a property is send an invalid

[jQuery] Re: select only the father

2009-04-22 Thread gostbuster
thanks a lot again. On 22 avr, 13:47, Daniel dcosta...@gmail.com wrote: I'm very glad! On Apr 22, 6:38 am, gostbuster jeremyescol...@gmail.com wrote: Thank you very much! it works ! thanks a lot ! On 22 avr, 13:31, Daniel dcosta...@gmail.com wrote: try this...                

[jQuery] Re: SuperFish Problem

2009-04-22 Thread gfranklin
f, Your ul / li code structure is difficult to read. Can you change it so that it contains line breaks and indentations? That way it will be easier to determine what the problem is. -G On Apr 22, 6:28 am, Forgotten jakeh0...@gmail.com wrote: When I added the SuperFish Module to my site

[jQuery] Re: How to catch mouse position inside an area?

2009-04-22 Thread Daniel
something like... $(#div).click(function() { var ox = $(this).offset().left; var oy = $(this).offset().top; } On Apr 22, 6:36 am, David .Wu chan1...@gmail.com wrote: If I got a 400px width div, can I get the offset left distance from mouse to the div in where I click?

[jQuery] Nice lightbox variant?

2009-04-22 Thread Snef
hi, I want to use a lightbox (clone) for showing forms (like login, register etc.). I looked at Lightbox and Simplemodal. Are there any other suggestions? Snef.

[jQuery] Re: Removing anonymous element

2009-04-22 Thread dth
But it does :) I have div a/ b/ /div I have a jquery reference to b that was obtained earlier. If I invoke .parent().remove() it removes all children of the parent - that is both a and b. I only wish to remove b. Thanks, -dennis On 22 Apr., 13:48, Daniel dcosta...@gmail.com wrote:

[jQuery] Safari/Ajax: no error thrown when offline

2009-04-22 Thread zuccaralloo
Hi, when I do an ajax request and the connection to the server/internet went off in the meantime, I would expect an error to be thrown - and the function that is defined in the error option to be called. That's what actually all browsers except Safari (for Windows) do. In Safari no error is

[jQuery] Variable div #menu height - Jquery

2009-04-22 Thread André
Hello all, I've been struggling with implementing Jquery into my navigation menu. The menu itself is an unordered list with subitems. The subitems appear next to the main menuitems (for showing, hiding and append classes to these items I use the 'collapsor'-plugin). So far so good... What is

[jQuery] Safari/Ajax: no error thrown when offline

2009-04-22 Thread zuccaralloo
Hi, when I do an ajax request and the connection to the server/internet went off in the meantime, I would expect an error to be thrown - and the function that is defined in the error option to be called. That's what actually all browsers except Safari (for Windows) do. In Safari no error is

[jQuery] Re: Ajax Errors with Firefox 3.0.8 (latest release)

2009-04-22 Thread DinosaurJack
I was having the same problem.Working in IE7 but not FF3. My apache access.log showed that Firefox was issuing a POST straight after the GET so obviosly the event handling was cascading. Turned out my click handler had a case where it was not returning false; IE7 must return false by default or

[jQuery] ClueTip Ajax Load Div

2009-04-22 Thread followerofjesus
I think ClueTip is great, but the only thing I think it needs is an option to load just a div on an external page rather than the a whole external page. Like is available in BeautyTip Does anyone know how to mod ClueTip to do that? Regards from Josh

[jQuery] Sliding a DIV from the bottom of the browser

2009-04-22 Thread psivadasan
Hi, I'm trying to slide up a DIV with content inside from the bottom of the browser. My entire webpage fits inside the browser window with no scrolling. The effect is similar to what is seen in this flash template: http://www.templatemonster.com/flash-templates/23054.html I tried the code

[jQuery] Re: Variable div #menu height - Jquery

2009-04-22 Thread André
Whoops, The Javascript file can be found here: http://www.opee.nl/jquery/js/init.js http://www.opee.nl/jquery/js/init1.js Greetings, Andre On 22 apr, 14:15, André andrejilde...@gmail.com wrote: Hello all, I've been struggling with implementing Jquery into my navigation menu. The menu

[jQuery] Ignore success label for a class in validation

2009-04-22 Thread Skatan
I use the function for success-label, but some fields would I like that the success message not is shown/disable. Please help me! success: function(label) { label.text(ok).addClass(success); }

[jQuery] Re: jquery treeview menu problem

2009-04-22 Thread Titti
No idea? On 20 Apr, 16:23, Titti prima...@gmail.com wrote: Hi Jay, here you can take a look about the problem (with firefox it's all ok, but with ie it doesn't works very well) http://www.mcworks.it/tests/ Thank you Paolo On 10 Apr, 21:01, jay jay.ab...@gmail.com wrote: Can you post

[jQuery] Re: ClueTip Ajax Load Div

2009-04-22 Thread Geert Baven
this should do $(document).ready(function() { $('a').each(function() { var thisHash = this.hash; $(this).cluetip({ sticky: true, mouseOutClose: true, closePosition: 'title', closeText: 'img src=cross.png alt=close /', ajaxCache:

[jQuery] Re: Nice lightbox variant?

2009-04-22 Thread Joseph Le Brech
facebox Date: Wed, 22 Apr 2009 05:10:29 -0700 Subject: [jQuery] Nice lightbox variant? From: sne...@gmail.com To: jquery-en@googlegroups.com hi, I want to use a lightbox (clone) for showing forms (like login, register etc.). I looked at Lightbox and Simplemodal. Are there any

[jQuery] Re: IE6/IE7 Error (Object doesn't support this property or method)

2009-04-22 Thread MorningZ
What do you mean by VALIDATE? http://www.google.com/search?q=html+validation As for your IE error, usually that means that the type of object isn't what your code is expecting. but as Jonathan points out, it's hard to help more than that without seeing the code fail On Apr 22, 6:10 am,

[jQuery] Re: IE6/IE7 Error (Object doesn't support this property or method)

2009-04-22 Thread Jonathan Vanherpe (T T NV)
Fact is that the error is quite generic. I think I've even gotten it for forgetting to use a ; at the end of a line. Jonathan MorningZ wrote: What do you mean by VALIDATE? http://www.google.com/search?q=html+validation As for your IE error, usually that means that the type of object isn't

[jQuery] Re: $(#field) is null

2009-04-22 Thread Abrar Arshad
hi, i didnt try it but i think the problem is with your text() method that you have used as a property on 3rd line. On Wed, Apr 22, 2009 at 3:48 PM, jjsanders jigalroe...@gmail.com wrote: Hello, I have a selectbox with month periods in it. Here is my code: $(function(){

[jQuery] Re: Nice lightbox variant?

2009-04-22 Thread Snef
Facebook looks nice. Is it possible to darken the rest of the page like the other ligthbox clones? ;-) Joseph Le Brech schreef: facebox Date: Wed, 22 Apr 2009 05:10:29 -0700 Subject: [jQuery] Nice lightbox variant? From: sne...@gmail.com To: jquery-en@googlegroups.com hi, I

[jQuery] Re: $(#field) is null

2009-04-22 Thread MorningZ
has nothing to do with the .text method, as he is saying his selector isn't working (hence the null message)... besides that is perfectly valid JavaScript to get the text value from an option jjsanders: What happens if before this line $(function(){ you put alert($); because the fact you

[jQuery] Why would adding this onclick alert cause this code to fail???

2009-04-22 Thread Rick Faircloth
Without going into a lot of other code which could be impacting this, I wanted to start with this question: Is there any reason why adding this onclick alert to this line of code would cause the entire block of code generated using out.push to fail? (onclick is in the top line)... out.push('div

[jQuery] Re: $(#field) is null

2009-04-22 Thread Michael Lawson
In the event that MorningZ is right, and it makes sense to me: $ = jQuery; should do the trick. cheers Michael Lawson Content Tools Developer, Global Solutions, ibm.com Phone: 1-828-355-5544 E-mail: mjlaw...@us.ibm.com 'Examine my teachings critically, as a gold assayer would test gold.

[jQuery] Re: Why would adding this onclick alert cause this code to fail???

2009-04-22 Thread Michael Lawson
I think your problem is here: alert('Help!'); You are using ' to delimit the Help string, but also to delimit the out.push string, at the same time. So you are escaping the string and passing Help! as a variable instead of a string. try escaping the 's with \ cheers Michael Lawson Content

[jQuery] Re: Why would adding this onclick alert cause this code to fail???

2009-04-22 Thread Rick Faircloth
Thanks, Michael! That was it! That was driving me crazy! [?] Rick On Wed, Apr 22, 2009 at 9:23 AM, Michael Lawson mjlaw...@us.ibm.com wrote: I think your problem is here: alert('Help!'); You are using ' to delimit the Help string, but also to delimit the out.push string, at the same

[jQuery] Safari addclass within a click handler not working

2009-04-22 Thread huntc
Firstly thank you for jQuery - I'm loving it. I have an interesting situation where if I add a class within a click event handler then the class does not get added. However if I add the same class as part of my regular $(document).ready handling then all is well. To compound the problem,

[jQuery] addClass on Safari within a click handler not working

2009-04-22 Thread Christopher Hunt
Firstly thank you for jQuery - I'm loving it. I have an interesting situation where if I add a class within a click event handler then the class does not get added. However if I add the same class as part of my regular $(document).ready handling then all is well. To compound the problem,

[jQuery] Re: Internet Explorer Bug (Disappearing Fields)

2009-04-22 Thread Abhimanyu Grover
I am experiencing exactly same problem. Did you find a solution yet? On Feb 23, 10:14 pm, James Finley jamesfin...@gmail.com wrote: I am running jQuery 1.2.6, and experiencing a major bug with form fields disappearing in IE 7.0.5730.11. I have fieldsets that can be collapsed (uses slideUp),

[jQuery] Re: Why would adding this onclick alert cause this code to fail???

2009-04-22 Thread Michael Lawson
Hehehe, no prob. I know how frustrating little errors like that can be :) cheers Michael Lawson Content Tools Developer, Global Solutions, ibm.com Phone: 1-828-355-5544 E-mail: mjlaw...@us.ibm.com 'Examine my teachings critically, as a gold assayer would test gold. If you find they make

[jQuery] Re: Modifying jQuery to decrease file size.

2009-04-22 Thread paulinstl
bump. On Apr 20, 4:19 pm, paulinstl paulsha...@gmail.com wrote: I'm currently using about one third of the jQuery library and I'm wondering if I can safely remove unused functions that are not being internally called nor called by my code in an effort to reduce filesize further. I realize

[jQuery] Re: js query and wordpress. Cluetip stops working

2009-04-22 Thread Karl Swedberg
ok, good to know. :) The link you provided below has incorrect paths for the javascript files. I put together a test page for you to show that it's working just fine when everything is included correctly (using your images and stylesheets. ;-) ) : http://test.learningjquery.com/moof/ I'm

[jQuery] Some pseudo help if you'd be so kind?

2009-04-22 Thread ldexterldesign
Hey guys, I have 10 separate posts displayed on a page. I want to hide 7 (of the oldest) of them and display a link; 'show more posts' - kinda a pagination thing I guess. My PHP pumps out 10 posts, and I'd like to do the hide/show with JS. I'm aware I could simply add and remove a height

[jQuery] jQuery Ajax Error in Firefox 3.0.8

2009-04-22 Thread Geo..
Hi friends I tried to develop an ajax request using jQuery It works fine with IE and Even Chrome But I always getting same error in firefox 411 Length Required On firebug error shows on jquery.js line no 19 my code is given below $.ajax({ type:'POST',

[jQuery] finding mouse position within a div with a scrollbar

2009-04-22 Thread Charlie Park
I have a div with an overflow, so it has a scrollbar. The what are my mouse's coordinates tutorials (like this one: http://docs.jquery.com/Tutorials:Mouse_Position) only yield A) the coordinates of the mouse on the page (using e.pageX and e.pageY, or B) the absolute coordinates of the mouse,

[jQuery] Re: Some pseudo help if you'd be so kind?

2009-04-22 Thread MorningZ
How's this for a quick mockup i made for you http://stuff.morningz.com/public/Coding/jQuery/show_more.htm On Apr 22, 10:18 am, ldexterldesign m...@ldexterldesign.co.uk wrote: Hey guys, I have 10 separate posts displayed on a page. I want to hide 7 (of the oldest) of them and display a

[jQuery] Re: Some pseudo help if you'd be so kind?

2009-04-22 Thread Tom Worster
On 4/22/09 10:18 AM, ldexterldesign m...@ldexterldesign.co.uk wrote: Hey guys, I have 10 separate posts displayed on a page. I want to hide 7 (of the oldest) of them and display a link; 'show more posts' - kinda a pagination thing I guess. My PHP pumps out 10 posts, and I'd like to do

[jQuery] Re: Removing anonymous element

2009-04-22 Thread mkmanning
element.remove() will remove the element from the DOM, but it won't remove it from the jQuery object (in case you want to do any further work with it). On Apr 22, 5:10 am, dth dennis.thry...@gmail.com wrote: But it does :) I have div   a/   b/ /div I have a jquery reference to b that

[jQuery] Validation plugin - Using with 'button' buttons?

2009-04-22 Thread Brad
I'm trying to integrate the Validation plugin into an existing project. The forms use AJAX and the buttons are not of type 'submit', but type 'button'. If I change the type to 'submit' I can see validation works, but doing so will require other code changes. Is there any way to get it to work

[jQuery] Re: Validation plugin - Using with 'button' buttons?

2009-04-22 Thread Brad
To be more specific, validation is working prior to clicking the button. For example I have a date field in the form and entering garbage will present an enter a valid date message, but I also have some fields that are simply required. Clicking the button doesn't appear to run any pre-submit

[jQuery] Re: How to catch mouse position inside an area?

2009-04-22 Thread Richard D. Worth
See http://docs.jquery.com/Tutorials:Mouse_Position#Where_did_they_click_that_div.3F - Richard On Wed, Apr 22, 2009 at 7:36 AM, David .Wu chan1...@gmail.com wrote: If I got a 400px width div, can I get the offset left distance from mouse to the div in where I click?

[jQuery] Re: Modifying jQuery to decrease file size.

2009-04-22 Thread jerone
I would never recommand removing parts from a library. jQuery is one of the smallest libraries, but I you want it smaller, you better script it yourself.

[jQuery] form.action equivalent in jQuery

2009-04-22 Thread Thierry
I currently have the following legacy piece of html: form action= method=get name=clientListForm id=clientListForm input type=submit name=submit_hello id=submit_hello value=Say Hello onclick=this.form.action = 'hello.php'; input type=submit name=submit_hi id=submit_hi value=Say Hi

[jQuery] Re: form.action equivalent in jQuery

2009-04-22 Thread mkmanning
$('input[type=submit]').click(function(){ $('#clientListForm').attr('action',this.id.substring(7)+'.php'); }); Assumes you're submits have ids with a submit_ prefix followed by the name of the page. On Apr 22, 9:13 am, Thierry lamthie...@gmail.com wrote: I currently have the following legacy

[jQuery] Re: Modifying jQuery to decrease file size.

2009-04-22 Thread paulinstl
I'm very happy with jQuery, i just don't need all of it. Kinda like how the jqueryUI builds custom downloads. On Apr 22, 11:08 am, jerone jeron...@gmail.com wrote: I would never recommand removing parts from a library. jQuery is one of the smallest libraries, but I you want it smaller, you

[jQuery] Re: Drop Down Menu (sub-sections)

2009-04-22 Thread JT
Superfish plugin might work for you. http://users.tpg.com.au/j_birch/plugins/superfish/

[jQuery] Re: Modifying jQuery to decrease file size.

2009-04-22 Thread Richard D. Worth
This is being considered for the next version. See: http://docs.jquery.com/JQuery_1.4_Roadmap#Structure Make it possible to only load the core module and be able to load all the rest dynamically - Richard On Wed, Apr 22, 2009 at 12:44 PM, paulinstl paulsha...@gmail.com wrote: I'm very happy

[jQuery] Re: Validating Ajax generated forms.

2009-04-22 Thread CG
Here is the Java Script var editStr =; $('#settings_editor :input').live('keypress', function() { var v = $(#station_setup).validate().form().live(); console.log(v); editStr

[jQuery] Re: load json

2009-04-22 Thread Etoiliste
Thank you for your help it works fine :) My script is : script type=text/javascript $(document).ready(function(){ $.getJSON(countries.jsp, function (json) { $.each(json,function(i,obj) { var countries = 'trtdstrongCountrie:/strong' + obj.libelle + '/tdtda href=# id=' + obj.paysId + '

[jQuery] Re: Jquery not validation not working on dynamic content.

2009-04-22 Thread JT
I had a similar problem when working heavily with Ajax and forms. Initially, I was using the livequery plugin but because of performance issues, I went with livequery. I'm not positive my example will work with live. Here's a quick example of one of three approaches that worked for me.

[jQuery] Can you help me understand .end() ?

2009-04-22 Thread JKippes
Please reference http://docs.jquery.com/How_jQuery_Works, the Chainability segment. I'm confused on the given description of .end(): You can take this even further, by adding or removing elements from the selection, modifying those elements and then reverting to the old selection, for example:

[jQuery] simile timeline using jQuery

2009-04-22 Thread Lakshmi Ramesh
Hi, I have to use simile timeline using jQuery. Please help. Very urgent!!

[jQuery] simile timeline using jQuery

2009-04-22 Thread Lakshmi Ramesh
Hi, I have to use simile timeline using jQuery. Please help. Very urgent!!

[jQuery] simile timeline using jQuery

2009-04-22 Thread Lakshmi Ramesh
Hi , I have to use simile timeline using jQuery, plz help and its very urgent!!

[jQuery] Accordion : remote objects

2009-04-22 Thread okpoube...@gmail.com
Hello everyone (pls excuse my english...) I'm trying to add an accordion to a page. But i can see that the correct structure is something like this: div id=accord h3item1/h3 pcontent1/p h3item2/h3 pcontent3/p /div i.e., elements must be contiguous. Is it possible to have something

[jQuery] Re: Accordion : remote objects

2009-04-22 Thread Natkeeran L.K.
Hi: Yes, It is possible. Check an example. http://pssnet.com/~devone/ajqtable/ac.html Regards, Nat -- Forwarded message -- From: okpoube...@gmail.com djibm...@gmail.com Date: Apr 22, 12:21 pm Subject: Accordion : remote objects To: jQuery (English) Hello everyone (pls

[jQuery] load an aspx page (or ascx) in a div

2009-04-22 Thread nasserman
hi all, i want to load external asp.net pages in divs,with jquery,without postback the page, cay anyone show me a sample? tnx

[jQuery] Re: jQuery Ajax Error in Firefox 3.0.8

2009-04-22 Thread Josh Powell
what does ajax.php return? at what stage is the error, beforesend, error, success, complete? Put in a console.log and see if it is executed in each of the states. Just a style suggest, but reverse your usage of quotes: $('#searchresult').html('div align=center valign=middle

[jQuery] Re: Accordion : remote objects

2009-04-22 Thread Natkeeran L.K.
Perhaps, I mis understood your request. The way you showed is multiple instances of accordion. --- some content --- can be anything. Thats possible I suppose. Regards, Nat On Apr 22, 12:21 pm, okpoube...@gmail.com djibm...@gmail.com wrote: Hello everyone (pls excuse my english...) I'm

[jQuery] Jqgrid, row edit, posting to the server not working

2009-04-22 Thread Natkeeran L.K.
Hello: I am using Jqgrid, and testing how the editing feature work. When the row is clicked, it shows the form to edit. However, entering the info and submitting does not work. http://pssnet.com/~devone/ajqtable/editgrid.html (Also see below) At the php side I am simply trying to get those

[jQuery] Re: Accordion : remote objects

2009-04-22 Thread Natkeeran L.K.
div class=accordion h3item heading /h3 divsomething go here/div h3item heading2 /h3 divsomething go here2/div /div On Apr 22, 12:21 pm, okpoube...@gmail.com djibm...@gmail.com wrote: Hello everyone (pls excuse my english...) I'm trying to add an accordion to a page. But i can see that the

[jQuery] Re: load an aspx page (or ascx) in a div

2009-04-22 Thread MorningZ
This has worked for me in the past: http://weblogs.asp.net/scottgu/archive/2006/10/22/Tip_2F00_Trick_3A00_-Cool-UI-Templating-Technique-to-use-with-ASP.NET-AJAX-for-non_2D00_UpdatePanel-scenarios.aspx You'd simply use a .get() to retrieve that HTML snippet generated by the ascx file On Apr

[jQuery] Re: Jqgrid, row edit, posting to the server not working

2009-04-22 Thread Tony
Hello, FireFox console reported a error: jQuery(a).jqDrag is not a function This means that you do not have loaded: 1. jqModal.js 2. jqDnR.js 3. jqModal.css Load these files in your head section Regards Tony On Apr 22, 8:32 pm, Natkeeran L.K. natkee...@gmail.com wrote: Hello: I am using

[jQuery] Re: simile timeline using jQuery

2009-04-22 Thread Rey Bango
This really doesn't provide much. If you're asking for help, I would suggest that you give more detail about what you're trying to accomplish along with practical examples. Rey Lakshmi Ramesh wrote: Hi, I have to use simile timeline using jQuery. Please help. Very urgent!!

[jQuery] Re: simile timeline using jQuery

2009-04-22 Thread Rey Bango
This might help you: http://jystewart.net/process/2008/06/twitter-timeline-proof-of-concept/ Rey Lakshmi Ramesh wrote: Hi, I have to use simile timeline using jQuery. Please help. Very urgent!!

[jQuery] Re: simile timeline using jQuery

2009-04-22 Thread Rey Bango
Also check out this: http://www.simile-widgets.org/ Rey... Lakshmi Ramesh wrote: Hi, I have to use simile timeline using jQuery. Please help. Very urgent!!

[jQuery] Re: Get all radiobutton in a span

2009-04-22 Thread James
Try: var kk = $(#list_0 input:radio); or: var kk = $(#list_0).find(input:radio); or you can just give all radio buttons a same classname and reference it by that. On Apr 22, 7:47 am, Nitin Gautam gautam.ni...@gmail.com wrote: HI, I have following html code. Using jQuery how to get all the

[jQuery] Re: Can you help me understand .end() ?

2009-04-22 Thread MorningZ
Say you have the html of div spanOne/span spanTwo/span spanThree/span /div and say: var $obj = $(div); your jQuery object, $obj, will be just the div tag Now if you say var $obj = $(div).find(span); that would first be an object representing the div and the .find() makes it be

[jQuery] Re: Jqgrid, row edit, posting to the server not working

2009-04-22 Thread Natkeeran L.K.
Hello Tony: Thanks for reply. Loaded those to the header: http://pssnet.com/~devone/ajqtable/editgrid2.html When clicked over it,the form automatically closes it. Regards, Nat On Apr 22, 1:43 pm, Tony t...@trirand.com wrote: Hello, FireFox console reported a error: jQuery(a).jqDrag is not

  1   2   >