This works..
I have this in a hidden field: document.getElementById(query
).value='the text to search for here';
And do this..
get revbrowserexecutescript(sBrowserId,field 1)
and have a browser instance with your form example loaded. It successfully
places the text to search here in the box with
Ah k. I should have read better. You want to fill in the slots, not just
jump to the results.
The javascript would be something like
document.quick_search_form.query.value='the text to search for here'
Since it sounds like you're using the LC browser object, you can probably
build the string as
Hey, if this is for an external browser, and you have control of the page
being accessed, there is no reason you can't set up a url with a GET, that
is used by the receiving page to set the default value. If the page is
straight html, and not php or .lc processed, i'm not sure how you can
inject a
Firebug shows:
GET https://company.batchbook.com/search/autocomplete?query=NameToSearch
https://company.batchbook.com/search/autocomplete?query=NameToSearch
When I enter the URL as
https://company.batchbook.com/search/autocomplete?query=NameToSearch
If the page isn't too complicated and you can figure out how things are
being sent.. (easy if the page works with GET requests.. just look at how
it structures the url, and build your own with your query in place of your
experimental query) If its a post, you might be able to figure out what is
This isn’t a LiveCode question specifically.
Let’s say there is a web page and it has a search field on it.
Can I make a URL that puts text into the field? In this case I don’t even need
to press return as the search field will search automatically when typing text
in the field. This