I'm not too familiar with anything beyond writing markup and CSS, and I have a question..
If I have one .html page with a structure like this:
<ul>
<li></li>
<li></li>
<li></li>
</ul>
Now let's assume each of these list items has a class assigned to it, but the class is not unique, and is used multiple times. Is it possible to fetch all list items based on a certain class to another .html page? For example, summon all list items with class "red" to a page called red.html, and all items with class "blue" to blue.html.
Is there any simple way to do this with PHP or another basic method?
Any input is appreciated.
lets say that is your html:
then you could accomplish this with javascript by grabbing the desired elements and then sending these using ajax method to desired page.
});
Note that i'm using jQuery here, it would look differently in plain javascript... hope this helps :)