If you choose to do it this way, I'd advise using a timestamp rather
than (or in conjunction with) the random string generator, just to
ensure it's definitely unique. Entropy's a bitch...
On Dec 22, 9:16 am, Calvin Lai cal...@gmail.com wrote:
Maybe you could write a random generator script that
I usually use this handy script from Quirksmode.com
function findPos(obj) {
var curleft = curtop = 0;
if (obj.offsetParent) {
curleft = obj.offsetLeft
curtop = obj.offsetTop
while (obj = obj.offsetParent) {
What I do is put the database ID into the HTML when the page is
generated, then I observe a container object and work out which
element to edit on the fly.
Here's a very old example, written back when Prototype 1.5 roamed the
earth. As Pascal famously put it, if I had more time, it would
I hope this is not too far off topic.
I have a page that has a PeriodicalExecuter as well as Sound that
plays a beep message. One of my customers runs Firefox 3.0.5 on
Windows (I can find out which one if it matters) and frequently the
browser crashes. I put in a sound test and that seems to
Hi Matt,
Thanks for your reply. I couldn't get this to work, but I appreciate your
taking the time to reply.
I'm thinking of just having the user use a regular form for requests with
multiple records, and continue to use editinplace for requests with just one
record.
Best,
Audrey
I'm using the following code to add a table to DOM.
var table = Builder.node('table', {id: x},
Builder.node('tbody', eachdayArr)
);
$('parent').insert(table);
But this doesn't show right away in IE (works fine in FF).
When I turn on my DOM explorer, however, it suddenly shows!!
(By
Changing the visibility of any item on the page will cause a redraw.
You could try Element.show('') after your insertion.
On Dec 22, 3:28 am, Jay jebum@gmail.com wrote:
I'm using the following code to add a table to DOM.
var table = Builder.node('table', {id: x},
Double check for any console.logs you may have in your code.
Lingering debugging code has caused me a few headaches in the past.
On Dec 22, 3:05 pm, pedz pedz...@gmail.com wrote:
On Dec 22, 1:33 pm, Diodeus diod...@gmail.com wrote:
You could make Ajax calls back to a logging system on the
Any reason in particular you couldn't use application/x-www-form-
urlencoded for your contentType?
On Dec 19, 1:12 pm, Dalzhim Dalzhim dalzhim.ml...@gmail.com wrote:
I finally found out what was the problem with this multipart POST
which wasn't working. After many hours of investigation, I
If Firefox is crashing, then it is a bug in Firefox, and not your
code. (However, it could be that a bug in your code is triggering a
bug in Firefox.) I think the first step in debugging would be to
reproduce the problem. Make sure your operating system, Firefox
version, Firefox add-ons and
Thanks for the suggestion.
I tried this but it doesn't quite seem to work.
I tried...
$('parent').insert(table.show());
and..
$('parent').insert(table);
table.show();
On Dec 22, 12:15 pm, Diodeus diod...@gmail.com wrote:
Changing the visibility of any item on the page will cause a redraw.
I actually solved the mystery.
It had to do with WHERE I was placing the created table element.
I didn't really pay attention to this part and was trying to add this
dynamic table under another table element.
$('parent').insert({after: table});
solved the problem for me.
On Dec 22, 4:35 pm,
Hi Davide,
I would probably observe ul as the event will bubble up the dom the
you can get id of child node that triggered the event. One point to
consider is to have the ul li's having ids just to make it easier
extracting the actual element infocus.
On 12/18/08, Davide daw...@gmail.com wrote:
13 matches
Mail list logo