[Proto-Scripty] Re: Weird textarea problem in FF

2009-03-16 Thread T.J. Crowder
Hi Dan, Can you put together a small but self-contained test page and post it to Pastie?[1] [1] http://pastie.org -- T.J. Crowder tj / crowder software / com Independent Software Engineer, consulting services available On Mar 16, 2:44 am, Daniel Israel d...@ebji.org wrote: I've got a fairly

[Proto-Scripty] Re: 3 level nested chained select fields

2009-03-16 Thread vbastos
Thank you T.J. This is my corrected code with the JSON solution: I had obviously miss understood the use of bind, also when I wrote that code I was in a real rush and trying to fight errors so I was trying a few things to get it to work. I have now corrected the code:

[Proto-Scripty] Re: IE 7 and dynamic div in IFRAMES

2009-03-16 Thread david
Hi smatcookie, If we can see the error in action, it could be more easy to solve the problem. btw, I did not hear of such a problem on iFRAME with dynamic content, but isn't it possible for you to uncapsulate the iFRAME with a DIV so that instead retrieving the IFRAME height, you'll retrieve

[Proto-Scripty] Re: HELP please on question regarding onComplete

2009-03-16 Thread Mel
T.J. Thanks so much for taking the time to respond. A colleague of mine finally found what my problem was. The issue resided in the ELSE IF statement. Please see the modified code below: [CODE] function getVendorInfo(vNum) { var url = '/common/Lookup.action';

[Proto-Scripty] Re: Prototype exception in IE and not in Mozilla Firefox

2009-03-16 Thread david
Hi virchete, could we have some live testing code to see the error in action?? Or pehaps som edebugging info with FireBug, as it seems to appear on a non IE browser. -- david On 13 mar, 15:47, virchete virch...@gmail.com wrote: Hello, I have a problem with prototype just in the line 1372  

[Proto-Scripty] Re: Sortable Lists: Can only move one row?

2009-03-16 Thread david
Hi Programme, that could be a lot of things, but one thougth, did you have same element ID for the list ?? Perhaps, you could use pastie.org to paste created code. -- david On 13 mar, 15:09, Programme ejmyrv...@gmail.com wrote: Hey Here is a very nice tutorial on Sortable

[Proto-Scripty] help with basic regular expression

2009-03-16 Thread arkady
if trying to strip off the everything before the body and everything after /body response = response.sub(/^.+body/, ).sub(/\/body.*$/,); but its not doing it. i even tried something simpler: response = response.sub(/^.+$/, ) as a test and it did not work either.

[Proto-Scripty] ajax-autocompleter null feedback

2009-03-16 Thread Yako
Hello ! I was coming to this group, hoping that, maybe, you could help me... So, I'm working with the ajax-autocompleter which works great. My aim is to redirect between an editing function for an existing item, or a creating function for a not-found item I insert a specific id to each li, and

[Proto-Scripty] Sortable is undefined

2009-03-16 Thread sujikin
Hi, For the below script, I am getting the error Sortable is undefined, html HEAD titleABCD/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 / script language=javascript src=scripts/prototype.js type=text/ javascript /script script language=javascript

[Proto-Scripty] Re: Sortable is undefined

2009-03-16 Thread T.J. Crowder
Hi, The most interesting thing is that it works as an independent HTML file but fails with the above error when I ran it on my server as a JSP page. Very suspicious. :-) Sounds like a deployment error. With things running on your server, if you go to your page, and then edit the address

[Proto-Scripty] Re: help with basic regular expression

2009-03-16 Thread arkady
thank you. that worked. i was trying to use the sub() method. does it work? On Mar 16, 11:10 am, kangax kan...@gmail.com wrote: On Mar 16, 1:13 pm, arkady arkad...@gmail.com wrote: if trying to strip off the everything before the body and everything after /body

[Proto-Scripty] Re: help with basic regular expression

2009-03-16 Thread RobG
On Mar 17, 4:10 am, kangax kan...@gmail.com wrote: On Mar 16, 1:13 pm, arkady arkad...@gmail.com wrote: if trying to strip off the everything before the body and everything after /body response.replace(/.*(?=body)/, '').replace(/(\/body).*/, '$1'); That seems a bit risky, the string

[Proto-Scripty] Re: help with basic regular expression

2009-03-16 Thread kangax
On Mar 16, 9:44 pm, RobG rg...@iinet.net.au wrote: On Mar 17, 4:10 am, kangax kan...@gmail.com wrote: On Mar 16, 1:13 pm, arkady arkad...@gmail.com wrote: if trying to strip off the everything before the body and everything after /body response.replace(/.*(?=body)/,