"laurin1" <[EMAIL PROTECTED]> writes:

> Ok, i'm REALLY new.
>
> I'm just trying to use getElement like this:
>
> function showrs(){
>
>       var $a = document.getElement[id('iRecordSet')].innerHTML
>       alert($a)
>       }
>
> Is my syntax off, or am i just OFF? 

>From http://mochikit.com/doc/html/MochiKit/DOM.html you're mistaken in your
syntax. 

Take a look at http://mochikit.com/doc/html/MochiKit/DOM.html#fn-getelement
and at the example right in the beginning of the page, where there's an option
showing how to use getElement.

-- 
Jorge Godoy      <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mochikit
-~----------~----~----~----~------~----~------~--~---

Reply via email to