[eluser]Mitja B.[/eluser]
What you suggest where to write JS code.
The code like this
Code:
[removed]
$(function(){
$("form input[@type='text']").addClass("input");
$(".date-pick").css("width", "100px");
$("input[@name='duration_in_hour'], input[@name='number_of'], input[@name='price_eur'], input[@name='price_eur_simobil']").css("width", "70px");
});
[removed]
to write it in view file or in controller file.
If in controler where
Code:
function content_add()
{
...
$this->load->view('admin/content_add', $data);
}
thx