Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
Instead of "Message Sent" alert, I would like to load hidden HTML content. Once the user fills out the required fields, through HTML, a Thank You message/image will appear along with an exclusive Pay Now button. Here's the link http://thebrlab.com/razor-chic-of-atlanta/sign-up.php
You can either do this with javascript inserting the div, set the display to none (display:none), then when the button is clicked, use javascript to change the attribute to display:block.
Without more information, I can't give you a better answer.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I have a form that currently goes to a PHP page to process the data from the form and output it to plain text. However, I would also like an option to have the output use special HTML formatting. Is that even possible?
You can use the formaction-attribute on the button like this:
<form method="post" action="show-as-text.php">
<button>Show as text</button>
<button formaction="show-as-html.php">Show as html</button>
</form>
The formatction-attribute on the button will override the forms action.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I am trying to come up with a php if statement for my site. I have a page called "research". There is text on this page with a link which says "contact me" This link links through to my contact page. Now, I need an if statement to say that if you are on the research page and you click on the contact me link, I need some text on the contact me page to be hidden and only be visible when you are on the contact page.
Is this possible?
On your contact page, you can get what you are looking for from:
$_SERVER['HTTP_REFERER']. It will tell you which page the user came from getting to the contact page.
However, you should not rely on this. Consult the following Q&A here on Stack Overflow:
How reliable is HTTP_REFERER?
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have a div which value is changed in tyiping... on typing in textarea and when stopped typing its value again changed to no typing or maybe its empty.
how can I put its changing value into mysql table? or update?
any help would b appreciated.
thanks
Learn ajax requests...
By ajax I mean not only ajax. To start learning ajax you must know some jQuery.
Here are some tutorials:
Bucky's Room
Basicly get the value of the div you change while typing and send it to the database by ajax.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have list of checkboxes on web page. What I want is , after deselcting checkbox particular record from database should get deleted accordingly in php.
You'll need to use some javascript to "listen" for the uncheck action on each checkbox. You can then use AJAX to delete the record from the database on the fly, and use jQuery make the record disappear visually from the webpage, all without reloading.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I wonder if you could also send vars without using hidden input, because input hidden is always readable in the code
You can use $_SESSION or continue using hidden inputs with encrypted name and value, then the user has no clue what they are reading.