Rendering coupons within hidden field
-
I have three sets of coupons I need to display. The display is determined by who is viewing the site (not logged, just viewing). The determination will need to be done via an ajax call to the server which will respond with which set they have access to.
I was thinking that the page would initially load with the three groups of coupons in hidden divs on the page. I would then use jQuery to get the response from the server and unhide the necessary div as a result.
What I need to verify is that the coupons will still render within a hidden div so that when I change the div from
display: nonetodisplay: block, the coupons will show correctly.
The topic ‘Rendering coupons within hidden field’ is closed to new replies.