Hi, I have 10 titles and 10 descriptions of the products for the online shop in products.txt
titles are in title class
descriptions are in descriptions class
How can I put them like this in my div
<div class='content'>
<title1>
<description1>
<title2>
<descirpiton2>
and so on.....
</div>
I've tried to wrote some script in jQuery, but I'm only couple of days familiar with it, and I can't do it myself for now
<script>
$('.content').load(''products.txt .titles // but how can I mix them ?
thank you very much
Can you help me little with jQuery and PHP ?
Moderator: General Moderators
-
jankidudel
- Forum Commoner
- Posts: 91
- Joined: Sat Oct 16, 2010 4:30 pm
- Location: Lithuania, Vilnius