You cannot post messages because only members can post, and you are not currently a member.
|
why does javascript lie?
|
| |
Ok, this is really annoying me... When you make changes to form
elements, and refresh the page, they don't go back to their defaults
regardless of what the html says "selected" is... My plan was to have
prototype set my form elements to their selected value when the page
loads, however when I implemented this, it did not work... I could... more »
|
|
JSON - which chars not accepted?
|
| |
I have a question to this prototype function: function isJSON() { var str = this; if (str.blank()) return false; str = this.replace(/\\./g, '@').replace(/"[^"\\\n\r]*"/g, ''); return (/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/).test(str); } If I send a JSON { 'str': '<p>This is a line with \n linefeed</p>' } I do get... more »
|
|
Prototype Unit Testing Framworks
|
| |
Hi All, I have been trying to find a Javascript Unit testing framework that works with Prototype. I initially tried JsUnit, but it would appear that there is a namespace conflict with the asserts, because as soon as I include the prototype file, all the previously passing test fail, with errors.... more »
|
|
Sorting and z-index problem
|
| |
I'm using scriptaculous to make page elements resortable through
dragging and I'm running into a problem with z-index and the YUI split
button. I know it could be difficult to say of the problem is with
the YUI code or scriptaculous code but I think it's scriptaculous code
(or my use of it) and the YUI widgets just make the problem visible.... more »
|
|
Does $A('.classname').invoke('setValue',...) work on checkboxes?
|
| |
Hi, I just bumped into a weird bug in my code. The thing is, that I am trying to update value of several checkboxes with a value received in a result of ajax call. Anyway, I have following construction: <input name="someName" class="APP_CHANGELOG_LOG_ID" value="" type="checkbox"/> The checkboxes are unchecked by default.... more »
|
|
PeriodicalExecuter that doesn't stack
|
| |
Im looking for a way to make PeriodicalExecuter not stack plus add in
a max period setting.
If PeriodicalExecuter could call a function instead of a url I could
set/clear some flags
so it would or wouldn't make the call depending on the flags.
But I don't see how I could do that unless I could make it call a... more »
|
|
Stupid me cannot make Ajax.Request work
|
| |
I am bumfuzzled by what "should" be a simple thing. I'm using
prototype 1.6.1. The server side is working. The chkCardNum function
gets called...but nothing fires.
<script type="text/javascript">
<!--
function chkCardNum() {
var notice = $('notice');
notice.update('Checking card number');... more »
|
|
ajax request
|
| |
hi everybody
i have an issue with ajax requests, when i send two requests one after
the other the second one waits for the first one to finish , and of
course i specify that they are asynchronous.
anybody has an explanation for that ?
|
|
Multiple Ajax Request from the same page at the same time
|
| |
hi all,
i'm using prototype to perform 3 ajax request at the same time in the
same page.
the probeleme is i have the impression that my requests are not
asynchronous :
i call first a page named foo.php => do a sleep(40)
and second a page named bar.php => echo "toto";
my javascript code:... more »
|
|
|