I have page A, where I have three anchor. And page B, where I have select #days with values 30,180,365
So when I click on page A an anchor with href like page?v=30 I should jump to page B, where automatically would be selected option with value=30 on select #days.
Is it possible? I guess easiest would be using jquery or something.
Thanks!
EDIT: I have following PHP code for showing values.
<select id="days" name="days">
<?php foreach($prices as $current_days => $details): ?>
<option value="<?php echo $current_days ?>" <?php selected( $subscription_days, $current_days ); ?>>
<?php echo $details['desc']; ?>
</option>
<?php endforeach; ?>
</select>