[Proto-Scripty] Re: Howto debug prototype

2008-10-31 Thread Martín Marqués
. With Firefox 2 I used to get unvaluable info. -- Martín Marqués select 'martin.marques' || '@' || 'gmail.com' DBA, Programador, Administrador --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group

[Proto-Scripty] 2 select elements cascaded to update

2009-06-11 Thread Martín Marqués
this out? -- Martín Marqués select 'martin.marques' || '@' || 'gmail.com' DBA, Programador, Administrador --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email

[Proto-Scripty] Re: 2 select elements cascaded to update

2009-06-11 Thread Martín Marqués
').value}, onComplete: function(transport) { if (200 == transport.status){ celda = $('tdlocal'); celda.innerHTML=transport.responseText; celda.focus(); } } }) } -- Martín Marqués select 'martin.marques' || '@' || 'gmail.com' DBA

[Proto-Scripty] How to get SELECTED option description

2009-07-06 Thread Martín Marqués
page, not the value. How do I do that? -- Martín Marqués select 'martin.marques' || '@' || 'gmail.com' DBA, Programador, Administrador --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group

[Proto-Scripty] Re: How to get SELECTED option description

2009-07-06 Thread Martín Marqués
()[select_menu.selectedIndex].innerHTML; - Alex 2009/7/6 Martín Marqués martin.marq...@gmail.com I have a select pull down within a form that at submition executes some ajax stuff and updates the div where the SELECT tag lives. HTML code is like this (I'm using HTML_Template_IT from PHP, so

[Proto-Scripty] select option by value

2009-07-07 Thread Martín Marqués
) { selectID[0].options[i].selected=true; found = true; } i++; } } I would call this function passing as argument the DOM object of the select and the option value that should be selected. Is there an easier way of doing this? BTW, it's not working for me. -- Martín Marqués select

[Proto-Scripty] lightwindow not working after ajax update

2009-08-06 Thread Martín Marqués
with lightwindow class. This page by it self works great, but when it is inserted in the container div it doesn't use the lightwindow efect, it just opens the link as if it was a normal link youn press on. Anything wrong with how we are working with this? -- Martín Marqués select 'martin.marques

[Proto-Scripty] Re: lightwindow not working after ajax update

2009-08-07 Thread Martín Marqués
lightwindow is based on scriptaculous. http://www.stickmanlabs.com/lightwindow/ Nobody uses it? 2009/8/6 DJ Mangus d.man...@gmail.com: Explain lightwindow for me, does it use javascript to display?  If so then post that script too please. On 8/6/09, Martín Marqués martin.marq...@gmail.com

[Proto-Scripty] floating div

2010-04-07 Thread Martín Marqués
on the top of the page and everytime I .show() it, all the objects below it go down to make the div fit. I want the div to show up on top of the other objects. How do I do this? -- Martín Marqués select 'martin.marques' || '@' || 'gmail.com' DBA, Programador, Administrador -- You received this message

[Proto-Scripty] Problems with IE in loading

2010-05-02 Thread Martín Marqués
the best practice for debugging in IE? Anything close to FF's Error Console, Dom Inspector and FireBug? -- Martín Marqués select 'martin.marques' || '@' || 'gmail.com' DBA, Programador, Administrador -- You received this message because you are subscribed to the Google Groups Prototype

[Proto-Scripty] Re: Problems with IE in loading

2010-05-03 Thread Martín Marqués
Commenting out and uncommenting lines in the irCargarAlumno function, I found that the problem is on these lines, but cant find out where and what's wrong: El día 2 de mayo de 2010 09:43, Martín Marqués martin.marq...@gmail.com escribió: function irCargarAlumno(url,cate,limpioDoc2

[Proto-Scripty] return status 0 or undefined

2010-07-01 Thread Martín Marqués
do I deal with this? -- Martín Marqués select 'martin.marques' || '@' || 'gmail.com' DBA, Programador, Administrador -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptacul

[Proto-Scripty] Re: return status 0 or undefined

2010-07-01 Thread Martín Marqués
Extra info: Server is not down, and I get no error messages on the server logs. El día 1 de julio de 2010 08:14, Martín Marqués martin.marq...@gmail.com escribió: I have a problem with the return status from an Ajax request. Normally I check if transport.status == 200 but I found that sometimes

[Proto-Scripty] Re: return status 0 or undefined

2010-07-01 Thread Martín Marqués
Upgraded firebug and now I see this error from Prototype: Prototype is not defined [Break on this error] (this.options.onException || Prototype.emptyFunction)(this, exception); prototype.js (línea 1540) Any devs that can enlighten me? El día 1 de julio de 2010 09:14, Martín Marqués martin.marq

Re: [Proto-Scripty] Re: return status 0 or undefined

2010-07-01 Thread Martín Marqués
in time. Also, can't be server cause yesterday I was testing this from the same web server. -- Martín Marqués select 'martin.marques' || '@' || 'gmail.com' DBA, Programador, Administrador -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group

Re: [Proto-Scripty] Re: return status 0 or undefined

2010-07-01 Thread Martín Marqués
prototype so unhappy with form tags? El día 1 de julio de 2010 10:33, Martín Marqués martin.marq...@gmail.com escribió: 2010/7/1 T.J. Crowder t...@crowdersoftware.com: FWIW, status = 0 is mentioned on the bulletproof ajax requests page on the unofficial wiki: http://proto-scripty.wikidot.com

[Proto-Scripty] AutoComplete and GET instead of POST

2010-07-07 Thread Martín Marqués
I'm checking out Scriptaculous's autocomplete object, and the only thing that bothers me is that it's send by POST and not GET. Isn't there a way to change that behaviour? -- Martín Marqués select 'martin.marques' || '@' || 'gmail.com' DBA, Programador, Administrador -- You received

Re: [Proto-Scripty] AutoComplete and GET instead of POST

2010-07-07 Thread Martín Marqués
: 'get', which will switch the transport for you. Good to know. The method option isn't in the ajax-autocomplete docs. Thanks for the tip. I'm just curious: is there a particular reason why you want to do this? yes. I using GET elsewhere, and I want to keep everything alike. -- Martín Marqués

[Proto-Scripty] Morph and setTimeout

2010-07-20 Thread Martín Marqués
('cont'+id, { style: 'height:'+newh+'px;', // CSS Properties duration: 0.5 // Core Effect properties }); setTimeout($('masinfo'+id).show(),500,id); } Here it says that id is not defined in the setTimeout line. Any ideas? -- Martín Marqués select 'martin.marques

Re: [Proto-Scripty] Morph and setTimeout

2010-07-20 Thread Martín Marqués
-hours a day from the Bahamas (boy, sure hope my idea works or that consulting career is a pipe-dream): var elid = 'masinfo' + id; setTimeout($(elid).show(),500,id); This was the first thing I tried out yesterday, and it didn't work. Thanks anyway. -- Martín Marqués select 'martin.marques

Re: [Proto-Scripty] Morph and setTimeout

2010-07-20 Thread Martín Marqués
2010/7/20 Rick.Wellman rick.well...@kiewit.com: Oops, already made a mistake;  Make that: var cmd = $('masinfo' + id + ).show(); setTimeout(cmd,500,id); Yeah, this is how I made it work, but it's not pretty at all. Walter gave me the beautiful afterFinish. Thanks Walter! -- Martín Marqués

[Proto-Scripty] autocompleter and zero matches

2010-08-02 Thread Martín Marqués
I have an input field with autocompleter to build a pull down to select options. I was trying to figure out the best way to build an exception function if there are no rows returned. Is there some custom way of doing this? -- Martín Marqués select 'martin.marques' || '@' || 'gmail.com' DBA

Re: [Proto-Scripty] autocompleter and zero matches

2010-08-02 Thread Martín Marqués
of the options that's in the DB. I'd like to give some error message if that's not the case. -- Martín Marqués select 'martin.marques' || '@' || 'gmail.com' DBA, Programador, Administrador -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us

Re: [Proto-Scripty] autocompleter and zero matches

2010-08-02 Thread Martín Marqués
this. -- Martín Marqués select 'martin.marques' || '@' || 'gmail.com' DBA, Programador, Administrador -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptacul...@googlegroups.com

[Proto-Scripty] Re: trying to build an autocomplete

2010-09-19 Thread Martín Marqués
Forgot to say that all this goes inside a modalbox. El día 19 de septiembre de 2010 08:55, Martín Marqués martin.marq...@gmail.com escribió: I'm trying to do a listing with a filter input box, without using autocomplete (I don't know if autocomplete would work here) that has to do

[Proto-Scripty] ajax.updater and onLoad

2010-11-02 Thread Martín Marqués
I'm tryng to find a way for ajax.updater to show an animated gif clock during the load of the request, but can't find it, and I don't want to rewrite all the scripts with ajax.request. I thought I saw it in the past, but can't recall where. Any ideas? -- Martín Marqués select 'martin.marques

[Proto-Scripty] click on a frame

2010-12-29 Thread Martín Marqués
HI, I'm trying to program an observer that will trigger a function when any link in a determinated iframe gets click. I have no control about the iframe's content as it comes from an external source. Is it posible to do this? -- Martín Marqués select 'martin.marques' || '@' || 'gmail.com' DBA

[Proto-Scripty] Eliminate POST vars before submit

2011-08-01 Thread Martín Marqués
submitted? -- Martín Marqués select 'martin.marques' || '@' || 'gmail.com' DBA, Programador, Administrador -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com

Re: [Proto-Scripty] Re: Eliminate POST vars before submit

2011-08-01 Thread Martín Marqués
software / com On Aug 1, 3:14 pm, Martín Marqués martin.marq...@gmail.com wrote: I have a large form with quite a bunch of pull downs to select. Then a submit button. The thing is that there can be up to 1300 vars, and maybe more in the future, but in every post only 10 or 15 are valid

Re: [Proto-Scripty] Re: Eliminate POST vars before submit

2011-08-01 Thread Martín Marqués
2011/8/1 T.J. Crowder t...@crowdersoftware.com: You can make it just selects like this:    if(selects[i].tagName.toUpperCase() === SELECT selects[i].getValue() == 0){ Shouldn't that be selects.nodeName.toUpperCase() (instead of tagName)? -- Martín Marqués select 'martin.marques

Re: [Proto-Scripty] Re: Eliminate POST vars before submit

2011-08-01 Thread Martín Marqués
El día 1 de agosto de 2011 14:06, Martín Marqués martin.marq...@gmail.com escribió: 2011/8/1 T.J. Crowder t...@crowdersoftware.com: You can make it just selects like this:    if(selects[i].tagName.toUpperCase() === SELECT selects[i].getValue() == 0){ Shouldn't