php - Target dynamic value with Jquery -


i have code working except cannot figure out how target value generated dynamically php.

so when user clicks on hour fields insert hours on monday through sunday, both divs appear. tried targeting #hours class surrounds fields not work.

$(function () {    //hide hours on phone graphic , display when clicked    $(".hours_bg").hide();    $(".hours").keyup(function() {    $("#hours_bg").show();  }); 

also, here example targeting id works, again have no form id, values creating dynamically php.

http://jsfiddle.net/1uu1uc7c/3/

update: here view php variables passed dynamically. http://laravel.io/bin/zz8pr


Comments

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -

php - $params->set Array between square bracket -