I am trying to write a script which would parse the id from the following snippet:
<form method="post" action="/gp/checkout/address/edit.html/ref=ox_shipaddress_edit_addr_1" id="edit-joqkltnomp">
and insert it where ID is in the following snippet:
Set FormElement = GWFO(iedoc, "getElementByid", VbMethod, 30, ID)
the id in the first snippet is always a variable so I searched for the part of the snippet immediately before it which is a constant as follows:
I am thinking if i create a string called IDString, for example, I can run the latter snippet as
Set FormElement = GWFO(iedoc, "getElementByid", VbMethod, 30, IDString)
I am just having a hard time figuring out how to parse the id and creating the string. Help much appreciated.