Hi,
I'm new to JavaScript and I'm still trying to understand it all. The reason I'm "trying" to learn JavaScript is to make my life easier.
My problem is as follows.....
I am starting to sell electrical products locally.
Go to
http://www.cafecom.no/shop/ and click on one of the product icons to see how my site displays things.
As you can see, the webpage is split into 3 frames:
- Top frame is the heading
- Middle frame opens an outside site (the site I shop with:
http://www.norek.no)
- Bottom frame is blank (I want this to diaplay the price of each item, depending on what the middle frame contains).
As you will notice, the middle frame contains no prices. This is because you need to be logged in as a business to see the prices. Obviously my customers can't be logged in or they would be able to order products without me getting a chance to add my profit to the price!
I'll give you an example of what I would like to do:
As the customer browses, I would like JavaScript to "read" the product number from the middle frame. That's all I need, to get the product number from each page.
Since the format of each page is the same, I was hoping that JavaScript could search for the word "varenummer" (ie. "product number"), and then retrieve the next 6 numbers (which would be the actual product number).
I'm not sure I've explained myself too well, but I hope you understand what I want.
Thanks, and hopefully someone can point me in the right direction....or at least tell me if what I'm asking is even possible with JavaScript!