oh ! thanks !
var form = e.element ( ) ;
if ( invalid ) {
alert ( "invalid" ) ;
e.stop ( ) ;
return ;
}
forn.Request ( ) ;
e.stop ( ) // Stop anyway ;
On Dec 30, 5:26 am, kangax wrote:
> On Dec 29, 3:27 pm, "K.C.Leung" wrote:
> [...]
>
> >
Can the observe method cancel the event ? Thanks !
var testForm = $( "testForm" ) ;
testForm.observe ( "submit", function ( e ) {
alert ( "submit" ) ;
return false ;// return false is meaningless. It is continue
to submit.
} ) ;
/*
testForm.onsubmit = function ( e ) {
a
I hope the prototype framework would add some table related utils.
It is useful.
On 12月4日, 下午2時12分, kangax <[EMAIL PROTECTED]> wrote:
> On Dec 3, 3:54 pm, "K.C.Leung" <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Are there and table mehods for Table to
Are there and table mehods for Table to make easier ?
Top Left
Top
Top Right
Left
center
Right
Bottom Left
Bottom
Bottom Right
var center = $( "center" ) ;
cen
How can I create a class extends from Element ?
var SubElement = Class.create ( Element, {
initialize: function ( $super ) {
$super ( "div" ) ;
}
} ) ; // error: 'subclasses' is null or not an object
--~--~-~--~~~---~--~~
You received this message b
Sorry, the method should be Element.update ( )
On 12月2日, 上午12時50分, "K.C.Leung" <[EMAIL PROTECTED]> wrote:
> does the ptototype has the such method ?
>
> var setText = function ( element, text ) {
> try {
> element.innerText = text ;
>
does the ptototype has the such method ?
var setText = function ( element, text ) {
try {
element.innerText = text ;
return this.innerText ;
} catch ( e ) {
try {
element.textContent = text ;
I think all the menu should be base on "ul" --> "li" --> "ul" -->
"li", "li" .
Then you can design your style by yourself to make it look like "menu"
On Nov 19, 10:50 pm, "jason maina" <[EMAIL PROTECTED]> wrote:
> Hi guys/galz,
>
> Would like to make a menu like the one for facebook, any idea