-
shrinkdev13Asked on July 23, 2021 at 10:12 AM
Hello
I have to set placeholder text for auto complete address widget fields and for this I have added both custom script jquery and javascript as well but both are not working
document.getElementById('autocomplete').setAttribute('placeholder', 'City, state');Page URL: https://www.iconcapitals.com/buyingnew -
Bojan Support Team LeadReplied on July 23, 2021 at 12:54 PM
Greetings.
The problem here is that the address widget is inside an iFrame. Due to this, it's not possible to select elements from iFrame unless both the main page and iFrame source are coming from the same domain.
Let us know if you have any additional questions.