Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Onclick does nothing
Post: RE: Onclick does nothing

Wonder why Albert has repeated the same thing 3 times, "my code is wrong and need to learn how to code", which useful in the long-term but useless for my boss who has waited 6 days for me to write 1 l...
8,794 Views
16 Replies
05-17-2019, 07:20 AM
Deborah
    Thread: Onclick does nothing
Post: RE: Onclick does nothing

Also tried: function add_row_js() { } which does download the file, but doesn't call the add_row() in the Controller class to run a query. Could be the main developer doesn't want me to ...
8,794 Views
16 Replies
05-16-2019, 01:28 PM
Deborah
    Thread: Onclick does nothing
Post: RE: Onclick does nothing

Been googling jquery posting, xhr calls, ajax. Tried: [download_page.php] class download_page extends MY_Controller { function add_row() { alert("downloading"); } } [downloads.php]
8,794 Views
16 Replies
05-16-2019, 10:31 AM
Deborah
    Thread: Onclick does nothing
Post: RE: Onclick does nothing

Useful thanks, understand more now about server(php)/client(js). I tried below, which adds a row when the page loads, but not with onclick. Dunno how to use js to send a request to php, which should...
8,794 Views
16 Replies
05-13-2019, 10:58 AM
Deborah
    Thread: Onclick does nothing
Post: Onclick does nothing

Just started using CI, and need to record downloads, but add_row() not getting called  :s Thanks, if can tell me the obvious thing I must be missing.
8,794 Views
16 Replies
05-13-2019, 09:17 AM
Deborah

Theme © iAndrew 2016 - Forum software by © MyBB