igotandrew Posted December 24, 2008 Share Posted December 24, 2008 My _IEFormSubmit doesn't work if there are 2 submit buttons here it is <input type="submit" name="submit" value="Post" tabindex="4"> <input type="submit" name="preview" value="Preview" tabindex="5"> so is it possible to fix it? Link to comment Share on other sites More sharing options...
Valuater Posted December 24, 2008 Share Posted December 24, 2008 There are two distinct names $oIE = _IECreate("http://?????") $oForm = _IEFormGetCollection($oIE, 2); or 1 or ??? $oBotton = _IEGetObjByName($oForm, "submit") ; Or $oBotton = _IEGetObjByName($oForm, "preview") _IEAction($oBotton, "click") 8) Link to comment Share on other sites More sharing options...
igotandrew Posted December 24, 2008 Author Share Posted December 24, 2008 Oh, I thought there was only one way to submit a form. Thanks, I'll test this out. Link to comment Share on other sites More sharing options...
igotandrew Posted December 24, 2008 Author Share Posted December 24, 2008 Worked like a charm, thanks. Link to comment Share on other sites More sharing options...
Valuater Posted December 24, 2008 Share Posted December 24, 2008 Worked like a charm, thanks.Welcome8) Link to comment Share on other sites More sharing options...
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