Answer the question
In order to leave comments, you need to log in
Parse PHP ajax response from ASP.NET
I am parsing a site written in ASP.NET ( www.iaai.com/Vehicles/VehicleAdvSearch.aspx?savepreference=true#anchorSearchResults ), I myself am not familiar with ASP at all, but as I managed to understand there, the whole site consists of one healthy form from body to / boby and almost every time I click on the link, the JS function __doPostBack () is triggered, which ajax sends the form, and in response receives something like this pastebin.com/c7eb9XhH After analyzing a little, I realized that this is some kind of structure data is something like an associative array that describes what, where and how to insert on the page, which is processed by JS and does what it says.
I want to drive it into an associative array, in order to be able to work with this data, for this you need to write or take somewhere a function that would do this, but for this you need to know the rules by which this structure is formed, but Google somehow did not help , although I may not be able to correctly compose the request.
Please do not swear by those who fumble in ASP.NET and to whom it may seem obvious, like some json_decode () for those who use PHP, I just accidentally climbed into someone else's garden with my cucumber)
Answer the question
In order to leave comments, you need to log in
In my opinion, everything is obvious here and ASP has nothing to do with it: the numbers are the number of characters in the block. What else is needed?
the whole site consists of one healthy form from body to /boby and almost every click on the link triggers the JS function __doPostBack()
<form runat="server">
//здесь непосредственно контролы аспнетовские
</form>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question