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

Python Kivy ListView: How to delete selected ListItemButton? -

asp.net mvc 4 - A specified Include path is not valid. The EntityType '' does not declare a navigation property with the name '' -