Hi, my problem is as follows.
My aim is when a user clicks 'comment' for a post, a <div>
appears with the form, which I can get working just fine.
However as moving on with my development, now when a user clicks 'comment', parameters are passed to change the url to add on the id of the selected post so I can work with each post as a separate element. E.g.
?do=comment&id=2
.
Now, because the page changes when 'comment' is clicked to to add the id accordingly, the hidden div never gets shown!
I can see it slightly appear but as soon as the website applies the parameter, it disappears again.
What I need help with is making this div show regardless, but I still need the paramters to be passed to the URL!
Using event.preventDefault();
shows the div, but does not pass the parameters.
Any help would be appriciated!