How To Read The Param Value From The Object Tag Using Javascript April 14, 2024 Post a Comment Is it possible to read the playerID value using JavaScript? Solution 1: Or, you can try the following statement. It will return all the play IDs on the page, if you have multiple.var playerIDs = document.getElementsByName('playerID'); CopyplayerIDs will be an array. If you only have one playerID on the page, you can just say playerIDs[0] Solution 2: try this:Baca JugaJavascript Call As3 FunctionSwf Works Within Only - Not Working With Bumpbox (lightbox Alternative)Javascript Dialog Over A Flash Movievar obj = document.getElementById('myId'); var value = ''; for(var param in obj.childNodes){ if (obj.childNodes[param].getAttribute('name') == 'playerID'){ value = obj.childNodes[param].getAttribute('value'); break; } } Copy Share You may like these postsSend Bytearray To JavascriptHow To List Available Callbacks Exposed By A Flash ElementHow To Include A Digital Clock Using Java Script In A Php Page Without "borrowing" It From Any Other Site Just Like The One Given In The Code?Simulating User Event Post a Comment for "How To Read The Param Value From The Object Tag Using Javascript"