Embedded php within JQuery within HTML table within PHP ... won't fire -
Specific questions before this (very long) - Sorry, I tried to make it as small as possible. (It took more than an hour to write the question).
The APP file uses the (HP) function to read rows in a SQL DB and creates an HTML table dynamically.
Each row, SQL data $ book ['code'] is a two-letter alpha-numeric ID, such as B7 or DW HTML for each line in a Suppose a couple or rows were clicked and some elements were embedded in JQuery script (which is correct When the user sees a different page and then goes back to it, then the hidden element (which was hidden by the java script) is now Are not hidden. I want to preserve a string of Question: Why is JQuery code not above, which works correctly, need to close the bracket? In the anchor tag become a var What is the syntax for updating / updating, which will preserve data with cumulative click-line? I have to ask because many of my attempts break the code. Should the R be started at the top of the function before? After entering the following code after "code return" I have to use PHP to create / update a cookie Have tried; (See below). The php code below creates a cookie when pasted for a different script.) Php code does not fire, why do not it? Answers are: 1) Still not sure, just syntax. 2) As stated in question 4, I was putting the code after "return false"; The statement, which concludes is an onclick event, therefore, return any code to after ; Onclick will not fire as part of the event ... and there was nothing to make it happen. 3) Irrelevant 4a.) The code above is a PHP code block - a PHP code block which can not be embedded inside HTML which is already in the PHP (i.e. already inside) Is being made. 4b.) To answer the further (2), my warning () will not be tested because they follow "return false"; Statement, 4 C.) Any new PHP code should be removed from HTML and the rest is placed back with the PHP, such as function (render_row_from_mysql) {}. How to preserve "clicked item" data between now, to find out the "back drawing board", when a user leaves this page and when he returns back . At this time, I suspect that this will be some kind of $ POST event, but before I'm not sure what it will look like. $ book ['id'] ,
$ book ['code'] ,
$ book ['description '] Is given through , etc.
& lt; Td> & Lt; / Td> An onclick = event consists of an anchor tag that runs a JQuery script
$
Comments
Post a Comment