zendx

How to fill textbox with database information after another field lostfocus

余生长醉 提交于 2020-01-06 08:10:10
问题 Could you help me find a way to solve my problem please? I have 4 textbox fields : number , key , firstname and name . When I tabulate from the number field after filling it, I would like to check in my database if this number exists. If so, my application should select the name and firstname linked to the number (in my database) and fill in the other fields name and firstname and then disable these fields. I think that I should use ajax but i don't know how to use ajax and Zend to achieve it

Set jQueryUiPath in Zend Framework project

给你一囗甜甜゛ 提交于 2019-12-25 06:51:29
问题 in my main layout template I set jQuery paths: if ($this->jQuery ()->isEnabled ()) { $this->jQuery ()->setLocalPath ( $this->baseUrl () . '/js/jquery/jquery-1.4.2.min.js' )->setUiLocalPath ( $this->baseUrl () . '/js/jquery/jquery-ui-1.8.4.custom.min.js' )->addStyleSheet ( $this->baseUrl () . '/js/jquery/css/custom-theme/jquery-ui-1.8.4.custom.css' ); echo $this->jQuery (); } but for some reason the ui javascript file does not appear in the header, however the css for ui is included. any ideas