899 Topics

Member Avatar for
Member Avatar for ramsiva

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][' …

Member Avatar for ihelpyou
0
265
Member Avatar for zeeshan009

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 …

Member Avatar for gabrielcastillo
0
92
Member Avatar for Ritika_1

<!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 = …

Member Avatar for diafol
0
266
Member Avatar for Anup_2

<!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 …

Member Avatar for Anup_2
0
472
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 anmol.raghuvanshi1

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> …

Member Avatar for cereal
0
12K
Member Avatar for solomon_13000

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 …

Member Avatar for solomon_13000
0
232
Member Avatar for Sophia_1

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 …

Member Avatar for Sophia_1
0
587
Member Avatar for meLiel

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 …

Member Avatar for Reverend Jim
0
12K
Member Avatar for muskan.upadhyay.355

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.

Member Avatar for stultuske
0
117
Member Avatar for benny300

create edit button beside treenode in asp.net webapplication project with c# codings #how to create edit button beside treenode#

Member Avatar for zinist
0
101
Member Avatar for Sophia_1

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 …

Member Avatar for andrevanzuydam
0
395
Member Avatar for ramsiva

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 …

Member Avatar for ramsiva
0
754
Member Avatar for Ahmed_62

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 …

Member Avatar for JamesCherrill
0
223
Member Avatar for killingmonk

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"; …

Member Avatar for Matt_17
0
200
Member Avatar for greenindia.hope

<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 …

Member Avatar for pritaeas
0
166
Member Avatar for mattster

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 …

Member Avatar for Gideon_1
7
1K
Member Avatar for basit_3

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(); }

Member Avatar for NathanOliver
0
177
Member Avatar for Doogledude123

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 …

Member Avatar for Doogledude123
0
703
Member Avatar for vegaseat

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 …

Member Avatar for vegaseat
9
45K
Member Avatar for tNicknames

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; }

Member Avatar for pixelsoul
0
388
Member Avatar for tnd2491

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 …

Member Avatar for cgeier
0
1K
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
428
Member Avatar for hkdani

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 …

Member Avatar for hefaz
1
794
Member Avatar for _ MSCrafter2006
Member Avatar for hefaz
0
258
Member Avatar for aymenchouikh

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

Member Avatar for ddanbe
0
379
Member Avatar for davidbr

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 …

Member Avatar for Gribouillis
0
474
Member Avatar for Dipanjana

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 …

Member Avatar for pritaeas
0
242
Member Avatar for Simon180

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 …

Member Avatar for Simon180
0
2K
Member Avatar for Niloofar24

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>" …

Member Avatar for Niloofar24
0
434

The End.