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) ? 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. Link to comment https://forums.phpfreaks.com/topic/230772-somthing-question/#findComment-1188036 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.