Search found 179 matches

by bowlesj
Tue Mar 26, 2019 11:16 pm
Forum: HTML, CSS and other UI Design Technologies
Topic: Can this html table loop be done
Replies: 2
Views: 68924

Re: Can this html table loop be done

Thanks Christopher, it is good to know I can do that. Ultimately what I want it to be able to both 1/ loop the column of the table in the form using PHP and 2/ download if that table cell is clicked on. So I was thinking that using textarea to allow for the looping I might have to put in an "on...
by bowlesj
Fri Mar 22, 2019 12:37 pm
Forum: Javascript
Topic: Using Javascript to access an html table
Replies: 2
Views: 72456

Re: Using Javascript to access an html table

Thanks pickle. Actually someone on an html forum taught me the solution below. However I would like to try your method to see if I can get it to work and I can learn something new. So I emailed myself the link to this forum thread as a reminder to eventually get around to trying it. John function fu...
by bowlesj
Sat Mar 09, 2019 9:02 am
Forum: Javascript
Topic: Using Javascript to access an html table
Replies: 2
Views: 72456

Using Javascript to access an html table

Hi, I have php code below that is creating the html entry for the 2nd column of a table. echo("<td><a href='frmKaraokeUpdateSongGroup.php?RecKey=$fldKF_Song_LU&fldKF_Key=$fldKF_Key'>$fldKF_Group</td>\n"); I am trying to get at the $fldKF_Group using javascript. I know how to find the c...
by bowlesj
Fri Mar 08, 2019 6:33 pm
Forum: HTML, CSS and other UI Design Technologies
Topic: Can this html table loop be done
Replies: 2
Views: 68924

Can this html table loop be done

Hi, I am trying something new. My first experiment failed. So before I bang my head against a wall :-) I thought I would ask if it is even possible. This code works. I have it in a table which is inside a form and when I click the form's submit button a page is called and I loop the fooMelody to get...
by bowlesj
Thu Mar 29, 2018 8:53 pm
Forum: PHP - Code
Topic: putting a drop down list in an html table
Replies: 1
Views: 7508

Re: putting a drop down list in an html table

A clean post with the resulting code that worked, a comment and an attached picture. This was a tough one. If it was not for my handy dandy google search trick (mentioned near the end of the above post) I never would have found it. I also want to get a drop down for the songs (tomorrow - time to cal...
by bowlesj
Thu Mar 29, 2018 7:29 pm
Forum: PHP - Code
Topic: putting a drop down list in an html table
Replies: 1
Views: 7508

putting a drop down list in an html table

Hi I am trying to get a drop down list (combo box) in an html table. I have inserted the same code that I use to put a drop down list in a text box in a form into a table element (at least I think it is the same code - it looks the same to me). It works except for one thing. Instead of giving me a c...
by bowlesj
Thu Mar 29, 2018 3:32 am
Forum: PHP - Code
Topic: PHP loop to bring in table info that is not an input.
Replies: 3
Views: 8195

Re: PHP loop to bring in table info that is not an input.

Hi Christopher,

you mean hide the master key rather than protect it. Yes I could do that actually. The user does not need to see it now. I have never done that with a table column. I should give it a try. It would also free up some space on the page. Thanks for the idea.

John
by bowlesj
Wed Mar 28, 2018 8:37 am
Forum: PHP - Code
Topic: PHP loop to bring in table info that is not an input.
Replies: 3
Views: 8195

Re: PHP loop to bring in table info that is not an input.

Interesting. This search <td> name='[]' </td> Led me to this example. <table> <tr> <th id="name">Name</th> <th id="email">Email</th> <th id="phone">Phone</th> <th id="addr">Address</th> </tr> <tr> <td headers="name">John Doe</td> <td headers="em...
by bowlesj
Wed Mar 28, 2018 5:49 am
Forum: PHP - Code
Topic: PHP loop to bring in table info that is not an input.
Replies: 3
Views: 8195

PHP loop to bring in table info that is not an input.

Hi, Over two years ago I created some test php code to see if I could figure out how to have ( a series of input text boxes in a table which is on a form ) that the user could selectively update then once they were done they would click the submit button and the same php page would process them in a...
by bowlesj
Mon Jan 16, 2017 6:42 pm
Forum: Javascript
Topic: Proper way to solve the refresh issue?
Replies: 33
Views: 62184

Re: Proper way to solve the refresh issue?

I finally got back to this issue and tried the .htaccess code below with Google Chrome. It works. I did 10 days of tests with 12 tests a day for 120 tests in total. I stripped out all the other code. <IfModule mod_headers.c> Header set Cache-Control "no-cache, no-store, must-revalidate" He...
by bowlesj
Tue Oct 18, 2016 6:53 am
Forum: Javascript
Topic: Proper way to solve the refresh issue?
Replies: 33
Views: 62184

Re: Proper way to solve the refresh issue?

Sadly Chrome just failed repeatedly while Firefox continues to work flawlessly. After reloading two pages on Chrome it started to work during my test. It seems every few days Chrome fails then it starts working again for a few days. The web pages are ultra simple and except for my test changes the w...
by bowlesj
Mon Oct 17, 2016 4:08 am
Forum: Javascript
Topic: Proper way to solve the refresh issue?
Replies: 33
Views: 62184

Re: Proper way to solve the refresh issue?

The last set of meta statements failed on chrome about 3 days later so I simplified the statement to the statement below and it has been working as per the tests below. <meta http-equiv="cache-control" content="no-cache, public, max-age=0, must-revalidate"> 16 tests per browser. ...
by bowlesj
Mon Oct 10, 2016 5:25 pm
Forum: Javascript
Topic: Proper way to solve the refresh issue?
Replies: 33
Views: 62184

Re: Proper way to solve the refresh issue?

This worked for both Chrome and Firefox (a total of 26 tests of changing the page). Firefox needed the additional "must-revalidate" statement. <meta http-equiv="cache-control" content="no-cache, public, max-age=86400, must-revalidate"> <meta http-equiv="expires&quo...
by bowlesj
Mon Oct 10, 2016 11:56 am
Forum: Javascript
Topic: Proper way to solve the refresh issue?
Replies: 33
Views: 62184

Re: Proper way to solve the refresh issue?

For a 2nd day in a row, Chrome passed the test shown above with the meta statements shown above (another 26 tests). So I am assuming the problem is solved with Chrome. Firefox failed immediately on the first item in the list (even though I reset all the cache by going through all pages to press the ...
by bowlesj
Sun Oct 09, 2016 7:41 pm
Forum: Javascript
Topic: Proper way to solve the refresh issue?
Replies: 33
Views: 62184

Re: Proper way to solve the refresh issue?

Finally I got the test to work. That is a total of 26 page changes made very quickly and all picked up by chrome. The meta code is below inserted in the main header only. <!-- START: HTML code to make sure your page is not stored in cache so that you do not need to tell them to use F5 --> <!-- https...