search for: onreadi

Displaying 4 results from an estimated 4 matches for "onreadi".

Did you mean: onready
2007 Nov 08
1
Prototype 1.6 and Lowpro 0.5
If you''re using Lowpro 0.5 from the trunk, you''ll need to append this to fix the broken Event.onReady method: Object.extend(Event, { onReady : function(f) { document.observe(''dom:loaded'', f); } }); Basically "contentloaded" changed to "dom:loaded" between rc0 and rc1. Just spent all morning working this out, hopefully it will save
2011 Apr 14
1
a little problem with extJS & log in form
have user_cotnroller class UserController < ApplicationController def authenticate if request.post? #User.new(params[:userform]) will create a new object of User, retrieve values from the form and store it variable @user. @user = User.new(params[:userform]) #@user = User.find_by_id(params[:id]) #find records with username,password valid_user =
2006 May 12
7
RJS and page.select collection size
I need to implement a conditional in my RJS template which looks something like: if (page.select(''row1'').first != null) page << "new TableRow.MoveAfter(''row1'', ''newrow'');" else page << "new TableRow.MoveAfter(''row2'', ''newrow'');" end Now, dumb question.. My
2006 Jun 27
14
iframe ... does it have an innerHTML ?
If I dynamically create a hidden iframe, how could I add a document in a string to that element? e.g., var sDocument = ''<html><head></head><body>Hello world.</body></html>''; I''ve tried several variations of appendChild, innerHTML, document.innerHTML, createTextNode. Argh! _______________________________________________