hi,
have you tried to use the Element class methods readAttribute/
writeAttribute instead that ordinary getAttribute/setAttribute?
i recently experienced some issues using getAttribute to retrieve
setted parameters.
Federico
On Sep 18, 7:33 pm, speedpac...@gmail.com speedpac...@gmail.com
Hey there,
I've got a wired problem with insert ().
Here is a snippet of my code:
chkMsg = new Ajax.PeriodicalUpdater ('', '/ajax/chkmgs.php', {
method: 'get',
frequency: 2,
decay: 1.5,
onSuccess: function test (originalRequest) {
var reg = /id=newMessage(\d+)/;
On Jul 29, 11:27 pm, Alex McAuley webmas...@thecarmarketplace.com
wrote:
why not just port the jquery one... wont take long !
Sorry for resurrecting this topic after two months.
In case anyone comes to this thread looking for masked input for
prototype (I know I did :-).
I thought I'd mention
Hi,
Your regexp doesn't have the 'g' flag, so I suspect this is an endless
loop:
while (result = reg.exec($('messages').innerHTML)){
currentmessageids.push (result[1]);
}
Adding the 'g' flag should fix it.[1]
Somewhat OT, but I would recommend grabbing innerHTML to a
I have little experience manipulating the dom other than using $( to
get/set style elements so direct advice and a link for education would
be appreciated.
Overall, the problem I have is a bunch of stacked divs with different
z-indexes. Sometimes the user will want to move a dive to the
Hi Bill,
If you make them all children of one container, then you can process
them in a loop like so:
var divsToSuppress, n;
divsToSuppress = $('containerName').children();
for (n = divsToSuppress.length - 1; n = 0; --n) {
divsToSuppress[n].setStyle({'zIndex': '4'}); // = Or
Mislav's when() seems a bit redundant when called inside of
document.observe('dom:loaded')...
I think this topic would be interesting to discuss in the the proto-dev
mailing list, ie. exceptions thrown for non-existant elements... i'd also
like to see some kind of support for catching stupid
Thats not to say that when() isn't pretty cool :)
On Sun, Sep 20, 2009 at 9:00 AM, Rick Waldron waldron.r...@gmail.comwrote:
Mislav's when() seems a bit redundant when called inside of
document.observe('dom:loaded')...
I think this topic would be interesting to discuss in the the
If none of the above work...
document.write('script type=text/javascript src='
http://somewhere/edu/is//prototype.js;\/script');
have you tried removing the extra / before prototype.js?
On Fri, Sep 18, 2009 at 1:45 PM, Ngan Pham nganp...@gmail.com wrote:
Hi jrochkind,
I believe
T.J. Crowder wrote:
Hi Bill,
If you make them all children of one container, then you can process
them in a loop like so:
var divsToSuppress, n;
divsToSuppress = $('containerName').children();
for (n = divsToSuppress.length - 1; n = 0; --n) {
Where xyz is the class name ?
Yup.
-- T.J. :-)
On Sep 20, 2:47 pm, bill will...@techservsys.com wrote:
T.J. Crowder wrote:
Hi Bill,
If you make them all children of one container, then you can process
them in a loop like so:
var divsToSuppress, n;
divsToSuppress =
T.J. Crowder wrote:
Where xyz is the class name ?
Yup.
Thanks
--
Bill Drescher
william {at} TechServSys {dot} com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To
Hello all,
I'd love to create a contact form using prototype and php.
However, I want to make sure that, if the javascript is disable,
the submission should be server side validated and submitted as well.
If javascript is enable, the onclick event will trigger, hence, the js
validation
Will
Never rely on client side validation, that's for convenience for your users,
not security.First, make the functionality works (including security)
without javascript.
Then override the submit button with javascript by observing the submit. In
that event code you submit the form via ajax, hide the
Hello,
I have been using prototype for a few months now, and so far I have enjoyed the
functionality that it brings.
However, I have noticed that it's speed is lacking. This makes me tentative to
use prototype for a rather large project that I have been planning. To confirm
this, I ran the
15 matches
Mail list logo