Ah! I didn't look too closely at that I guess, whoops.  Indeed that should
solve the problem for Chris.

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Russell Keith
Sent: May 29, 2009 9:41 AM
To: [email protected]
Subject: [Proto-Scripty] Re: Trouble getting started with Prototype


It appears the <script> tag must have a closing tag </script>.

So this <SCRIPT type="text/javascript" src="javascriptPrototype.js" />

Should be this <SCRIPT type="text/javascript"
src="javascriptPrototype.js"></script>

 
Russell

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Alex
Sent: Friday, May 29, 2009 12:11 AM
To: Prototype & script.aculo.us
Subject: [Proto-Scripty] Trouble getting started with Prototype


Hey, I'm new to Javascript but not to programming.  I decided to use
prototype because of the helpful functions it appeared to offer.

Here is what I have in a nutshell:

<SCRIPT type="text/javascript" src="javascriptPrototype.js" />
<SCRIPT type="text/javascript">
        function editInfo()
        {
                $('box').remove();
                                // A Bunch of other stuff goes here
after the fact.
        }
</SCRIPT>

The Prototype functions are in javascriptPrototype.js.  I am trying to
remove (or delete the contents of if someone has a better idea) the
div element with id="box".  I get an error everytime in IE 7.

Anyone have any tips or suggestions?

Thanks.






--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to