Similar Question:
How can I get query string values?
grab query string using javascript
I am working with a form URI where I need to extract a specific ATTRIBUTE value and then assign that value to a corresponding form field.
For example, consider the following string:
"formFieldName=UXCopy%3Abody&FCKAssetId=Variables.ContentDetails%3Aid&fielddesc=Body&FCKName=homecopy&AssetType=UXPage&StartItem=1299862617913&FCKAssetType=UXCopy&cs_environment=addref&pagename=OpenMarket%2FXcelerate%2FActions%2FNewContentFront&embedtype=link&adidiii=ssssssss&childtypes=UXDocument%2CUXEmbed%2CUXGoogleMap%2CUXImage%2CUXSocialMediaLink%2CUXPage&IFCKEditor=true&title=New&cancelpage=OpenMarket%2FXcelerate%2FActions%2FAddRefFront&assetid=Variables.assetid"
In this scenario, I aim to retrieve the value of adidiii
and assign it to the corresponding form field.