OO: working with forms(Solved)

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

I'm not sure I understand the question. All browsers make use of id depending on how you are using it.

I was stating above that IE will use the name of an element as an id if you make a call to an id that isn't there.

Ex:

Code: Select all

<div name="name">

document.getElementById("name").innerHTML = 'hi';

// IE will go ahead and execute this although the element clearly does
// NOT have an id.  It will use the name of the element.  Browsers like
// mozilla firefox, opera, and netscape will not.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
Post Reply