Guest Posted March 16, 2011 Share Posted March 16, 2011 How does this work $(somthing) I have code like $(tools).style.display = ... what does that amount too? is that like getelementbyid(tools) ? Quote Link to comment https://forums.phpfreaks.com/topic/230772-somthing-question/ Share on other sites More sharing options...
nogray Posted March 16, 2011 Share Posted March 16, 2011 Depends on the library you are using (from your sample, probably PrototypeJS or mooTools). It's about the same as document.getElementById() but adds extra methods to the objects. Quote Link to comment https://forums.phpfreaks.com/topic/230772-somthing-question/#findComment-1188036 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.