thebestnewbie Posted December 20, 2011 Posted December 20, 2011 Hi, I want to click this button in the form to Save the user im creating. I've tried with LinkClickbyTexT I've tried this : $oTags = _IETagNameGetCollection($oIE, 'input') For $oTag In $oTags $oTag.Value == 'Save' Then _IEAction($oTag, 'click') _IELoadWait($oIE) Next Nothing is working right now!!! I don't if the hidden input make it bug or something!!! <input type="hidden" name="action" id="action" value="add"> <p align="center"> <input name="btnAdd" type="submit" id="btnAdd" value="Save" class="btn"> </p> </form> PLZ HELP !!!!!
Eemuli Posted December 20, 2011 Posted December 20, 2011 (edited) There is currently some problems with IE9 and the click function => But you can use javascript to simulate the click:$oIE.navigate("javascript: document.getElementById('btnAdd').click()") Edited December 20, 2011 by Eemuli
thebestnewbie Posted December 21, 2011 Author Posted December 21, 2011 I tought to use navigate but i didnt knew which php variable or javascript to use. Thank You.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now