Web page fields

Bill Vlahos bvlahos at mac.com
Thu Mar 5 13:14:30 EST 2015


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 <https://company.batchbook.com/search/autocomplete?query=NameToSearch> into the browser it executes the command and shows the results as a CSV list on a blank page instead of mimicking what happens when the user types or pastes into the field. When the user types or pastes into the field the web page UI overlays the found entries.
 

The page source shows this as the form:
      <div id="global-search-wrapper <>">
        <form id='quick_search_form <>' ng-controller='QuicksearchController <>'>
  <input bb-autocomplete="true <>" id="query <>" name="query <>" on-select="navigateTo(id) <>" placeholder="Search... <>" type="text <>" value=" <>" />
</form>

      </div>

Bill Vlahos

> On Mar 4, 2015, at 3:07 PM, Mike Bonner <bonnmike at gmail.com> wrote:
> 
> 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
> being sent, and post directly to the page that handles things, but some
> pages seem to purposely obfuscate things so its hard to tell.
> I think you can use firebug to look at how things are sent too, which might
> be an end run around deciphering page source.
> 
> An example of a get URL, simplest method for google...  :
> https://www.google.com/search?q=bill+vlahos  Replace the stuff after = with
> your url encoded search string.
> 
> A post is, like I said, can be harder to determine depending on how
> complicated the page is.
> 
> 
> On Wed, Mar 4, 2015 at 3:53 PM, Bill Vlahos <bvlahos at mac.com> wrote:
> 
>> 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 particular web page does NOT automatically
>> put the cursor in the search field.
>> 
>> I’m guessing it is a javascript that does this.
>> 
>> Thanks,
>> Bill Vlahos
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list