[jQuery] Re: Problem with submit button of an inserted form

2009-10-02 Thread Cecil Westerhof
er... i did a fast copy and paste > :-) That is more as good enough. When you put me on the right track, I can clean up the code myself. :-] > "I now use", not "I know use"... I was to fast again. I am just to impatient. I like to get things done. > and please if you find any error on my > posts please correct me, I have to learn a lot about english (and jquery > too)  :-) Is a deal. :-D -- Cecil Westerhof

[jQuery] Re: Problem with submit button of an inserted form

2009-10-02 Thread Cecil Westerhof
;#contact_form" you solve your > problem and you can use the first version of the code you've posted before. I prefer the way I do it know. In this way the HTML-page or the function can change the way the id's are made, without breaking anything. In the above way the HTML and function has to be synchronized. I prefer to minimize the possibilities to break things. Thanks for the help. -- Cecil Westerhof

[jQuery] Re: Problem with submit button of an inserted form

2009-10-02 Thread Cecil Westerhof
OM is traversed instead of only placeInDOM. If someone knows how to optimize this ... Is there a way to let the fadeOut be finished before continuing? > A question, what placeInDOM contains? is an id? the html you're replacing > contains the id? div#contact_form What is inserted starts with: Organisatie Soort Organisatie geen Non Profit ZZP MKB Anders and ends with: Omschrijving   -- Cecil Westerhof

[jQuery] Re: How to disable a form

2009-10-02 Thread Cecil Westerhof
2009/10/2 Nalum : > > If you look at the examples you can set it to block just a specified > element. I did not look good enough then. Thanks. At the moment I am working with hide and show. But when the functionality I want is 'ready' I'll implement it. -- Cecil Westerhof

[jQuery] Re: How to disable a form

2009-10-02 Thread Cecil Westerhof
m. But I can live with that. -- Cecil Westerhof

[jQuery] Re: How to disable a form

2009-10-02 Thread Cecil Westerhof
2009/10/2 brian : > > On Fri, Oct 2, 2009 at 9:11 AM, Cecil Westerhof > wrote: >> >> 2009/10/2 brian : >>> >>> I like that idea but another might be to (after the form has >>> submitted) add a new submit handler for the form that simply returne

[jQuery] Re: How to disable a form

2009-10-02 Thread Cecil Westerhof
2009/10/2 brian : > > On Fri, Oct 2, 2009 at 8:32 AM, Giovanni Battista Lenoci > wrote: >> >> Cecil Westerhof ha scritto: >>> >>> I want to disable a form when I submit it. The first reason is because >>> I do not want the form submitted more

[jQuery] Re: How to disable a form

2009-10-02 Thread Cecil Westerhof
submit. Is this possible? >> > > On the beforesubmit event add the readonly attribute to every field. > > Should work.. :-) There is not a better way? When something goes wrong, I want to enable the form again. When there allready are readonly fields, this could complicate matters. -- Cecil Westerhof

[jQuery] Problem with submit button of an inserted form

2009-10-02 Thread Cecil Westerhof
alert($(placeInDOM).find(':submit')); I get: [object Object] What am I doing wrong? I found a workaround by using: $('.submit').click(function() { But this only works when my form is the only form on the page. So it is not very satisfactory. -- Cecil Westerhof

[jQuery] How to disable a form

2009-10-02 Thread Cecil Westerhof
I want to disable a form when I submit it. The first reason is because I do not want the form submitted more as once. For this I could disable the submit button(s). But I also want the values not be changed during the submit. Is this possible? -- Cecil Westerhof

[jQuery] Re: Some homebrewn jQuery functionalities

2009-09-21 Thread Cecil Westerhof
2009/9/21 Giovanni Battista Lenoci : > > Cecil Westerhof ha scritto: >> >> 2009/9/21 Cecil Westerhof : >> >>> >>> - a way to automatically notify people that they should enable JavaScript >>> >> >> The way that I did this was that st

[jQuery] Re: Some homebrewn jQuery functionalities

2009-09-21 Thread Cecil Westerhof
2009/9/21 Liam Potter : > You'd be better off just removing the div entirely. > > $(document).ready(function() >        $("#needJavaScript").remove(); > ); That was what I did first. I wanted to be to smart I am afraid. But the noscript suggestion of Giovanni is even better. -- Cecil Westerhof

[jQuery] Re: Some homebrewn jQuery functionalities

2009-09-21 Thread Cecil Westerhof
2009/9/21 Cecil Westerhof : > - Increase/Decrease text (has a little problem in Firefox) False alarm. Is a problem of that particulair Firefox. Other Firefox does not have the problem. Is a bit strange. The problem was even bigger with MIE8, but maybe that is also only that instance. Need

[jQuery] Re: Some homebrewn jQuery functionalities

2009-09-21 Thread Cecil Westerhof
2009/9/21 Cecil Westerhof : > - a way to automatically notify people that they should enable JavaScript The way that I did this was that start the body with: For best results JavaScript must be enabled!!! And in the $(document).ready(function() I had: $("#needJavaScrip

[jQuery] Some homebrewn jQuery functionalities

2009-09-21 Thread Cecil Westerhof
s a little problem in Firefox) - Show/Hide content (has a little problem in Opera and Konqueror) If someone has a solution for one of the problems or a comment: let me know. -- Cecil Westerhof

[jQuery] Re: Some problems with rounded corners

2009-09-20 Thread Cecil Westerhof
s. I also changed the variable names. Your names where better. It looks like it works now. (Not completly. When you look carefully, you see that the round corners disappear for a short period. But I can live with that.) Thanks. The only remaining problem is that Opera and Konqueror lose the border. If someone knows what is happening ... -- Cecil Westerhof

[jQuery] Some problems with rounded corners

2009-09-20 Thread Cecil Westerhof
on, .hideButton').corner(); in the click function, but that does not work, because that makes a mess of hideButton. Also this work is also done in browser where it is not necessary. This is one of my first tries with jQuery. So if I do things inefficient I would not mind corrections or improvements. -- Cecil Westerhof

[jQuery] Re: Working with XML

2009-08-07 Thread Cecil Westerhof
his code will process those also. I now use: $(xml).find('doc > value > form > field').each(function() { So the last problem is solved. -- Cecil Westerhof

[jQuery] JQuery Effects order ??

2008-11-10 Thread cecil
r spanName = $('span#contestant_name'); for (var x = 0; x <= 15; x++) { spanName.fadeIn('slow'); spanName.fadeOut('slow', setRandContestant); if (x == 1

[jQuery] popup content

2008-09-23 Thread cecil
Hello ... i am fairly new to jquery. i was wondering if anyone knew of a way i could emulate the functionality of the popup control of the asp.net ajax control toolkit. i want to display a list of check box items when an input text field is in focus. thank you in advance http://www.asp.net/AJAX/A

[jQuery] text input glow effect

2008-07-02 Thread cecil
Hello ... I'm really new to JQuery; today would be my first time using it actually. i'd like to reproduce the input highlight effect that safari applies. when the input is in focus, the border has somewhat of a glow effect to it. Does anyone know of technique that I could apply to allow this effe