Welcome Guest, Not a member yet? Register   Sign In
how to dynamically update data
#1

hi all,

I wanted to get dynamically data from the database when i am making a new invoiceif customer exists, then when i type the first few words, 
I wanted the names in the drop down listif the name is not there, then under the same drop down list, there should also be an option to create a new customer.Similarly I wanted the same for adding products in the invoice.Can you help me here.?I am using codeigniter3 with PHP7I have also attached the pics of what i want.

Please help !!

Attached Files Thumbnail(s)
       
Reply
#2

Sheenam, you will need to use some Javascript to make a Ajax call back to a webpage which does the actual lookup

A good place to start would be https://twitter.github.io/typeahead.js/examples/

Look under "Remote" section which covers getting data from a remote connection.

DMyers
Reply
#3

(This post was last modified: 10-26-2016, 11:20 PM by sheenam.)

(10-26-2016, 06:47 AM)dmyers Wrote: Sheenam, you will need to use some Javascript to make a Ajax call back to a webpage which does the actual lookup

A good place to start would be https://twitter.github.io/typeahead.js/examples/

Look under "Remote" section which covers getting data from a remote connection.

DMyers

thanku so much!! Smile i wil try that.
Reply
#4

(10-26-2016, 11:19 PM)sheenam Wrote:
(10-26-2016, 06:47 AM)dmyers Wrote: Sheenam, you will need to use some Javascript to make a Ajax call back to a webpage which does the actual lookup

A good place to start would be https://twitter.github.io/typeahead.js/examples/

Look under "Remote" section which covers getting data from a remote connection.

DMyers

thanku so much!! Smile i wil try that.

hi dmyers , i tried to use ajax. but m unable to achieve the target.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB