99 Topics

Member Avatar for
Member Avatar for borobhaisab

Hiya, Is this: ```` function unset_sessions() { //All Sessions on the script .... UNSET($_SESSION['registration_form_display']); UNSET($_SESSION['registration_form_button_clicked']); UNSET($_SESSION['domain']); //Form Input UNSET($_SESSION['domain_email_account']); //Form Input UNSET($_SESSION['domain_email']); //Form Input UNSET($_SESSION['password']); //Form Input UNSET($_SESSION['errors']); Displays errors underneath the form. echo __LINE__; echo '<br>';//DELETE } unset_sessions(); ```` the exact same as this: ```` session_destroy(); ```` I ask, …

Member Avatar for Dani
0
51
Member Avatar for bdanie

I have a code for countdown timer and it works perfectly fine.. <html> <title>project prelim</title> <head> <script type="text/javascript"> var ss = 10; function countdown() { ss = ss-1; if (ss<0) { window.location="testover.html"; } else { document.getElementById("countdown").innerHTML=ss; window.setTimeout("countdown()", 1000); } } </script> </head> <body onload="countdown()"> <center> <table width="100%" height="600px" style="text-align:center;"> <tr><td …

Member Avatar for bdanie
0
6K
Member Avatar for Niloofar24

Hello. Is there any other way for not using the submit button? <?php $user_choice = $_POST['font_styles']; if ($user_choice == "font_style_1"){ $font = 'firstfont'; }elseif ($user_choice == "font_style_2"){ $font = 'secondfont'; }elseif ($user_choice == "font_style_3"){ $font = 'thiredfont'; }elseif ($user_choice == "font_style_4"){ $font = 'forthfont'; } ?> <html> <head> <style> h1 …

Member Avatar for Niloofar24
0
426
Member Avatar for Fiorentino01^

Hi I am building this website for a small hotel. The user interface is ready and I have a form as shown below: If I click on submit I can insert the data from the form into the database.My question is where do I go from here? Is my database …

Member Avatar for SalmiSoft
0
237
Member Avatar for Niloofar24

hello me again:) There is a page in my cms that users can see my posts there and i want to limit the number of posts that must be shown to users in each page and paginate. This is my code: <?php $servername = "localhost"; $dbname = "mydbname"; $dbusername = …

Member Avatar for Niloofar24
0
582
Member Avatar for RudyM

I am trying to submit a form and get a result from an AJAX call. However, the error block is triggered when submitting the form. If I change the <form> to a <div> and change the $("form#main_frm").submit(...) to $("#main_frm").click(...), it works. What am I doing wrong with form? Thanks in …

Member Avatar for DaveAmour
0
224
Member Avatar for Bensirpent07

I'm trying to make my button change from saying "Submit" to "Submitting" when it's clicked. But it's for a form so if something like e-mail validation fails I want it to change back to saying "Submit". Here is the code I already have if you would like to take a …

Member Avatar for Bensirpent07
0
380
Member Avatar for fheppell

I've got a form, that sometimes needs to have a button allowing people to authorize with stripe. To save their data I'm submitting the form to a php file, that compiles the auth URL and saves their data. This javascript function is run when the button is clicked: function stripeAuth(){ …

Member Avatar for Robert_17
0
232
Member Avatar for nadiam

Hi. so i have this div like so: ![d69e97a4413c033f6390ecaea54c6c8d](/attachments/large/4/d69e97a4413c033f6390ecaea54c6c8d.jpg "d69e97a4413c033f6390ecaea54c6c8d") see the "Add Spouse" link, when clicked will display another div: ![99b4077223bdea75c7de5b15af9b634b](/attachments/large/4/99b4077223bdea75c7de5b15af9b634b.jpg "99b4077223bdea75c7de5b15af9b634b") the edit spouse works by submitting the data wihtout refresh using `$.post`: $(document).ready(function(){ $("#submitSp").live("click", function() { var id = $("#contactid").val(); var ssalut = $("#spouse-salute").val(); var sfname = …

Member Avatar for gabrielcastillo
0
1K
Member Avatar for nadiam

Hi guys, so i know this question has been asked and answered on the web a million times but it seems that how my page is structured it doesn't seem to submit at all though it does refresh. I think i also need expert input on the structure of my …

0
162
Member Avatar for nadiam

Hey guys so first off this is gonna be kinda messy because the form is loooooong i have an add_contacts page: ![9ae9d4d4671ce05b15662f248a355888](/attachments/large/4/9ae9d4d4671ce05b15662f248a355888.jpg "9ae9d4d4671ce05b15662f248a355888") see "Spouse" and "Child", they have their own form when "yes" is chosen. the strange thing that is going is that if main form + spouse form …

Member Avatar for nadiam
0
886
Member Avatar for nadiam

hey guys so i have an issue with my enable disable function which i just realized a few minutes ago. easier to explain with a screenshot: ![08c804f5fc7f9af5f870d8cf5a7cc3fa](/attachments/small/4/08c804f5fc7f9af5f870d8cf5a7cc3fa.jpg "align-right") so as you can see i have multiple checkboxes. say for example all checkboxes are checked and the delete button is enabled, …

Member Avatar for nadiam
0
458
Member Avatar for Stein102

I'm new to Javascript but need to write a script to enter some text into a form, hit submit and then copy an image to a word document. I'll post the website I'm trying to do this with and maybe you guys can give me some points. Note: I'm a …

Member Avatar for DJBirdi
0
250
Member Avatar for nadiam

i have a contact form. html is done. php is done as well. but the submit button doesnt seem to read my php code. sorry if my coding is too long but i just had to post the whole thing incase i missed something. any help is very much appreciated. …

Member Avatar for nadiam
0
394
Member Avatar for chris.immanuel

Hi Folks, I need help with my code. Basically I am building an inventory progress web so that it pulls the value from the dropbox, and with onChange, getting the corresponding value from the DB, Update the value and reinsert the new value to the DB using submit button. One …

Member Avatar for LesF
0
308
Member Avatar for Enigma360

I have a form which updates a MySQL database. This form uses an image to submit the form (code below). The name of the form is 'UpdateForm' <input style="padding:0px; margin:0px; margin-top:10px; border:none;" type="image" hspace="0" vspace="0" border="0" name="Update" id="Update" value="Update" alt="Update" src="images/UpdateButton.png" /> I would like to change this to use …

Member Avatar for Ajay Gokhale
0
551
Member Avatar for RascelleGrepo

Hello guys, I am on my revision of my thesis and I am actually stuck on this thing. My thesis is Online Requisition of Document and the panel told me that when the student submits his/her request, the expected date or tentative date release of document will automatically display or …

Member Avatar for cereal
0
649
Member Avatar for genwes

Hi, i've been asked to create a visit counter using checkboxes and a submit button. When a form (available form - code below) is submitted (pressed visit button) a script should work out which properties have been selected (using checkboxes) by the user and then add one to the Visits …

Member Avatar for genwes
0
348
Member Avatar for wesh_1

hi all am trying to develop an application for mobile using html,the aim is to send form details without using server ie submiting form to a number instead of server, via sms meaning my clients will reach me via sms sent to my phone.is it possible HTML code please help.

Member Avatar for patk570
0
239
Member Avatar for vtx.mg

hi everyone, i want a ajax code that submit form that has text data and some files. plz i want code nt the links to others plugins or smth else...

Member Avatar for jstfsklh211
0
133
Member Avatar for diggdirectory

which include: Search demand User intent Competition Budget Timeframe Goals Profitability Scalability click here for details : http://searchenginewatch.com/article/2325344/8-Deciding-Factors-that-Influence-SEO-Keyword-Prioritization

Member Avatar for Kelly Burby
-2
199
Member Avatar for nadiam

hey guys. i have created this page that has a text box and a search button and below them is another button let's call this button button A. when the search button is clicked the query runs and a table regarding whatever was searched will be displayed and thats okay. …

Member Avatar for patk570
0
235
Member Avatar for eshwar4k
Member Avatar for JazzibAli

This is a part of addtobasket.php file i want to change the normal submit button with my stylish one but dont know how to do. here is code... ...require("header.php"); echo "<form action='addtobasket.php?id=". $_GET['id'] . "' method='POST'>"; echo "<table cellpadding='10'>"; echo "<tr>"; if(empty($prodrow['image'])) { echo "<td><imgsrc='./images/image_not_found.png' width='50' alt='". $prodrow['name'] . "'></td>"; …

Member Avatar for minitauros
-1
361
Member Avatar for momonq1990

hello boss! can any one help me to do this. :S my .ajaxForm() code is working but i want to have validation first for the field before ajax start to work. here's my code: my script: <script> $(document).ready(function() { $('#myForm').validate({ rules: { newsletter: { required: true, email: true} } }); …

Member Avatar for pixelsoul
0
240
Member Avatar for Dinh Nguyen

Can anybody tell me Why I click on button to submit form -> it works, but when I use javascript to auto submit -> it failed ? I have this form on aaa.com, it submit to bbb.com/result.jsp (another domain) <form id="myForm" name="myForm " method="post" action="www.bbb..com/result.jsp"> <input name="var01" value="var01 "> <input …

Member Avatar for iamthwee
0
5K
Member Avatar for lanhaibibo

Hey, Everyone, I am new to CSS programming. SO have some basic questions about the input tag in CSS in the following example. SO, <input type="submit" value="Submit"> does not mention anything about a button, how do you even know that it defines a button ? Thanks in advance. <!DOCTYPE html> …

Member Avatar for crescendo
-1
220
Member Avatar for KamiNuvini

Hello, I'm really new to HTML/jquery so having some issues with submitting a form to jQuery and showing the results in a div. What I want -> Text box: Fill in text Button: Submit text as POST data with longurl=<text>, and display the result in a div (#shorturl) I have …

Member Avatar for KamiNuvini
0
3K
Member Avatar for noahwilson

Hello Guys, how inactive submit button till user not fill the form? how can i make it possible, please share your suggestion and feedback. Thanks

Member Avatar for IIM
0
200
Member Avatar for tossot92

I create a membership website on website that required registration to see full website. I also want users register from specific country. To archive this goal, I also add SMS verification on my registration page and restrict phone number field only for country that I want i.e. `923`. If Phone …

Member Avatar for noahwilson
0
321

The End.