A jsFiddle Demo is provided after this brief introduction.
The current Product Page you are using contains too much data just to get the price.
It's better to use the Flipkart.com Mobile Website for Books since that is faster to load up.
Reference 1: http://www.flipkart.com/m/books
Since you app must already be using the pid number for the book, you can query a mobile webpage search! The link in your Question is for a book with pid
of 9780224060875
Reference 2: http://www.flipkart.com/m/search-all?query=9780224060875
On that page you can see the Book Price is inside the Span Tag
with Class Name
of sp
.
<!-- Fragment of product price format -->
<div id="productpage-price">
<p>
Price: <del> Rs. 350</del>
<span class="sp">Rs. 263</span>
</p>
</div>
Then, using jQuery, you can get the price data you need like so:
// Begin section to show random methods to use HTML values
// Get the HTML of "Rs. 263" and store it in variable as a string.
var priceTextAndLabel = $('#productpage-price').find('span.sp').text();
// Get the HTML of "Rs. 263" and slice off the first 4 characters of "Rs. " leaving "263" only.
// Adjust the .slice() if possiable that number is after decimal point. Example: "Rs.1000"
var priceText = $('#productpage-price').find('span.sp').text().slice(4);
// As above but convert text string of "263" to a number (to allow JavaScript Math if req.).
// The value 10 seen below reflects decimal base 10 (vs, octal(8) example) for .parseInt();
var priceNumber = parseInt($('#productpage-price').find('span.sp').text().slice(4),10);
// Firefox with Firebug Console will show BLACK characters for "Rs. 263" since it's a "string".
console.log( priceTextAndLabel );
// Firefox with Firebug Console will show BLACK characters for "263" since it's a "string".
console.log( priceText );
// Firefox with Firebug Console will show BLUE characters for "263" since it's a "number".
console.log( priceNumber );
// End section to show random method to use HTML values
OK, now for the critical part... the part you've been waiting for... and that is how to use the flipkart.com Search URL in your goal (or even the webpage).
The sad answer is you can't. Not only do they forbid it, they block it. That means you can not iframe the webpage or even use AJAX to load the Search URL.
To illustrate the above failure, here's a jsFiddle Demo that, when viewed with the browsers console, will show nothing was obtained after the AJAX connection has completed.
Reference 3: jsFiddle flipkart.com Demo
Recommended solution: There's only one real choice here. Use a book store that has a API available to use. That API, with a possible API Key for privileged access, will allow you to become a legitimate store representative.
Perhaps they will eventually have a API to offer. Right now, they have a Mobile App Store for there MP3 collection. Seeing how MP3 can reflect Audio Books, it might be a matter of time before they offer a Mobile App Store for Books as well.