Yes i’m thinking of parsing a nested shortcode since i don’t know where to place the <select> tag on the fuction jumptoCourse(). So i think of nested parsing. But i think their is also a way of doing that without being nested i guess.
function selectCourse($content = null) {
return '<select id="dynamic_select">'.do_shortcode($content).'</select>';
}
add_shortcode('select', 'selectCourse');
function jumptoCourse($atts, $content = null) {
extract(shortcode_atts(array('value' => '#'), $atts));
return '<option value="'.$value.'"> '.do_shortcode($content).' </option>';
}
add_shortcode('jump', 'jumptoCourse');