899 Topics
| |
newTextBoxDiv.after().html('<div id="hoteldiv' + counter + '">'+'<input type="text" name="tripdetails[0][hoteldetails][' + counter + '][name]" id="textbox' + counter + '" value="" >'+ '<input type="text" name="tripdetails[0][hoteldetails][' + counter + '][number]" id="textbox' + counter + '" value="" >'+ '<input type="text" name="tripdetails[0][hoteldetails][' + counter + '][address]" id="textbox' + counter + '" value="" >'+'<br><br>'+ '<input type="text" name="tripdetails[0][hoteldetails][0][contact][' … | |
Hi All, I am new in php and i am creating an application of attendence management where i have mark 'present' or 'absent'. I can do listing with the last column of two radio button 'A' or 'P' , user will select and then finally press submit. Please tell how … | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> <form name="entry" method='post' action=""> <label>NAME </label> <input type="text" /></br></br> <label>mobile</label> <input type="text" /></br></br> <input type="submit"/> </form> </body> </html> <?php $servername = "localhost"; $username = "root"; $password = ""; $dbname = … | |
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> Product: <select name="s_product"> <option value="">Plz select product</option> <option value="1">TV</option> <option value="2">Fan</option> <option value="3">Light</option> </select><br/><br/><br/> </form> <?php if(isset($_POST['s_product'])) { $product=$_POST['s_product']; $sql = "SELECT * FROM `data` join product on data.p_id=product.p_id WHERE … | |
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 … | |
| hello,everyone i am making a registration page baesed upon php,codeigniter diificulity i am facing was when i try to make radio button or dropdown it misbehaves radio button's are not in single line but in different line so any one can help???? //my registration page <!DOCTYPE html> <html lang="en"> <head> … |
The following codes can be found in my javascript file (code.js): function addBranch(path, id){ //Click "Cancel" button return to Restaurant Manager Page $("input[name=btCancel]").click(function(){ window.location.href = path + '/branch_manager.php?id=' + id }); } The following codes can be found in my php file (test.php): <script src="<?php echo APP_WEB_PATH; ?>/js/jquery-1.11.1.min.js" type="text/javascript"></script> <script … | |
Hi everyone, am trying to save and display the text color after select change in php and html. After selecting Selfrating1 ie "Good", the textbox T11 suppose to change to "Green" color. After submit button the text color supposed to be save in mysql and display on the form. The … | |
hi programming masters! i need your help..how can i SEARCH a record in a database and display the results?? example: if i type an ID number or a name on the text box and click the search button it will look for the records and display it.. i have a … | |
i am getting the value of button by request.getParameter and comparing by .equals.....but the values are not getting stored in the database(it is not entering the if condition)...hoping for a solution. | |
create edit button beside treenode in asp.net webapplication project with c# codings #how to create edit button beside treenode# | |
Hi everyone, i have this form with 2 divisions. I wanted to retain the current tab after saving records for example, after saving records in tab-2, the tab-2 suppose to appear/retain as current tab. Currently, after clicking submit button the tab will go back to tab-1. Please advise. Thanks. <form … | |
when i am clicking on button, page is refreshing and share popup displayed and immediately hiding any body help me <?php /* Command Center Settings: Fill these out before you use the tool. */ $googleApiClientId = "xxx"; // Your API client ID from https://code.google.com/apis/console/ $inputSize = "70"; //How wide do … | |
i have these buttons what i wanna do is when i press any of them change the button name to "Ouch!" import java.applet.Applet; import java.awt.Button; import java.awt.Color; import java.awt.Graphics; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; public class sudokou extends Applet { Button num[] = new Button[9]; int x, y, i, j, n … | |
I have this .js file called by my page. The function I'm caling with my onclick is working before the button is clicked. window.onload = function() { document.getElementById('clickMe').onclick = testOne(); } function testOne() { var para = document.getElementsByTagName('p'); var length = para.length; for(i=0; i<length; i++) { document.writeln("+"); //document.getElementById(para[i]).style.font = "Arial"; … | |
<div class="panel-body"> <div class=" col-xs-12 col-sm-12 col-md-12 col-lg-12"> <form class="form-inline" role="form" action="leadentry.php" method="POST"> <div class="form-group form-groupp"> <label>Business Name</label> <input class="form-control" type="text" name ="business_name" placeholder=""> </div><br> <div class="form-group form-groupp"> <label>Contact person</label> <input class="form-control" type="text" name="contact_person" placeholder=""> <div class="person" id="TextBox_person > <button id="add_person" type="button" value="Add more" class="btn btn-default btn-sm" placeholder=""> <span class="glyphicon … | |
Recently I've stumbled on a nice tool that I really quite like, so I thought I'd share it: Personally, I love the power behind PHP. I find it a very simple to use yet possesses the techniques seen in the more complex desktop applications such as Perl/Python/C/C++/C# etc. PHP has … | |
i'm making a programme in which there is a button to save new text file to disk, i make a programme but it not work help me what is the error i cant understand this private: System::Void button2_Click(System::Object^ sender, System::EventArgs^ e) { String^ add=textBox2->Text; String^ final=add+".txt"; ofstream save(final); save.close(); } | |
I have a custom ListCell in which I have methods to move the position of the cell to the right or left, but I want a button to be shown similar to deleting a Conversation in Messages on iPhone. If I add a new ImageView, which will act as the … | |
This 'sticky' thread is for working examples of Python GUI code. Note that most wxPython examples have their own thread. Please use comments in your code to help the reader. The example code should be usable as a template, so folks get a feel for the toolkit and can use … | |
Can I do ajax on 'Leave page' button? Below is my code: window.onbeforeunload = function (event) { var message = ''; if (typeof event == 'undefined') { event = window.event; } if (event) { event.returnValue = message; } return message; } | |
I have 2 buttons name as "Build Start" and "Build Stop". what i want is when i click the stop button it will stop the execution of Building of all the projects. I have tried the Backgroundworker class but when i use the RunworkerAsync() function it will build only one … | |
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 … | |
Wouldn't it be nice to have a sizable command button in VB6? Face it. In the hidden recesses of your mind you have always wanted to be able to resize that command button in VB6--after the program is running that is. It's just that VB6 has not provided you with … | |
Hi I Need Help about using Visual Basic 6 2013 How do you make buttons go to other windows? | |
Hello i'm using visual studio 2010 express. I'm beginner. I'm searching how to design a button and to program it ? Thanks for any help | |
I have this code which open a frame, count 5 seconds and then open another frame. Here i have some buttons that should open different frames but they all open same second frame that is already opened by counter. I don t get it why is this happen. Any idea … | |
Hi , i hv a website wherein there are many fields and at the end of the page , there is a cancel and save button .Whenever I minimize the browser window , all letters in the cancel button do not appear and only "cance" appear i want all letters … | |
Am having a awful time trying to get this to work I googled it and even asked few friends about it, but it seams it more difficult than I expected it to be. basicly what am trying to do is capture if or when a user clicks on a button … | |
Hello. This is a part of my script: <table id="table-5"> <thead> <th>ID</th> <th>URL</th> <th>Editor</th> <td>More....</td> </thead> <tbody> <?php include('connection.php'); try { $sql = "SELECT * FROM Data ORDER BY ID DESC"; $result = $conn->query($sql); foreach($result as $key => $row) { echo "<tr>"; echo "<td>" . $row['ID'] . "</td>"; echo "<td>" … |
The End.