15,694 Topics

Member Avatar for
Member Avatar for vish_1

JSP page: <div id="ADDBUTTON" style="vertical-align: bottom;margin-left: 10px;display: none;"> <label style="text-align: center;" class="titleblue_s4" >Add Part Description</label><br> <div class="Table"> <div class="Row"> <div class="Cell"><label class="graylabel2">Enter Part:</label><font color="red">*</font></div> <div class="Cell"><s:textfield cssClass="text" name="partEntered" id="partEntered" value="%{partEntered}" theme="simple" size="50" onkeydown="return validatetext(event);" onkeypress=" return validatetext(event);" /> </div></div><div class="Row"> <div class="Cell"><label class="graylabel">Part Description:</label></div> <div class="Cell"> <s:textfield cssClass="text" name="addpartdescrp" id="addpartdescrp" …

Member Avatar for rproffitt
0
432
Member Avatar for bprosic

I can't accomplish async and await in order to populate array and then show the end result. When I execute the code, firstly there is an empty array. When I go "refresh", then data is populated. Obviously async. But I don't know how to write the code The similar problem …

Member Avatar for sagar_14
0
4K
Member Avatar for T3STO

hi brothers , i work on a ASP.NET MVC Project, please i try to get a cookie who created already using server side C# , and in a pure HTML page not .CSHTML i talk now about .HTML page , in this page i want to using javascript to read …

Member Avatar for madCoder
0
1K
Member Avatar for Maryam_8

**hello When I push submit the page refresh. Any suggestions to stop refresh ? I'm assuming it's something to do with the submit button but I can't figure it out this is my script :** <form id="form1" class="form-horizontal" method="POST" action=""> <input type="hidden" name="action" value="ajouter_reservation" /> <div class="modal-header"> <button type="button" class="close" …

Member Avatar for pankaj_patel
0
1K
Member Avatar for Rozanna

Hi, I have a form which consists a dynamic dependent dropdown and I want to maintain the entered data into the fields after the form is saved or edited. For an example: <input type="text" name="serial" value="<?php echo $serial;?>"> Similary i need to get the value in my dropdown as well. …

Member Avatar for harjinder007
0
1K
Member Avatar for rajesanthu

Hello Brothers and sisters, I'v got a problem,may it look like simple,but it shakes me off,let me state this. 1.I need to enter some details such as name,address and a photo in an html form. 2.On clicking submit button,I should get an html page with the contents I'v entered. 3.The …

Member Avatar for Sakshi@123
0
3K
Member Avatar for vizz

my connection to **WebSocket** is getting Disconnected continuously. I'm working in folder `realtime` on `localhost`. How to keep WebSocket connection live? How to use WebSocket in javascript? **Link:** http://localhost/realtime/ <script language="javascript" type="text/javascript"> var myWebSocket = new WebSocket("ws://localhost/realtime"); myWebSocket.onopen = function(evt) { alert("Connection open ..."); }; myWebSocket.onmessage = function(evt) { alert( …

Member Avatar for anthonydaly
0
3K
Member Avatar for PureManurea

Hit upon [this thing](https://hcaptcha.com/) recently. Seems like a good alternative to Google's reCaptcha. Website users solve the captcha, website owners get paid and AI companies get their data labeled. What do you think guys?

Member Avatar for rproffitt
0
492
Member Avatar for dwlamb

I am working on a project for drag and drop items in a shopping cart. For an item dropped into the cart, I am trying to implement jQuery $.ajax. The result back from the PHP is pre-pended with '`' and I can not figure out why. This is the javascript: …

0
2K
Member Avatar for retroisbest

I have multiple HTML tables which is generated by PHP, Each table has a dynamic ID assigned to it What i would like is a total of the time in the "Worked Time" column for each table. [![enter image description here][1]][1] <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta …

Member Avatar for retroisbest
0
1K
Member Avatar for Mr.M

Hi DW. If you check [this](https://iwpe.000webhostapp.com/iwpe/) you will notice that at the bottom right hand side there's an added image which is also a link for the hosting site, note that I own the site you will see and I'm not the one who added that image but it was …

Member Avatar for Mr.M
0
1K
Member Avatar for shraddha_patel
Member Avatar for Gloak

I have been trying to get Lat Lng from this code using the same call to Google Geocoding API, but I have not found a way. Any suggestion would be greatly appreciated! /*! * geotext v1.0 * * https://github.com/Frizzled/geotext * * Copyright (c) 2014 Vladimir Loscutoff * Released under the …

Member Avatar for Gloak
0
1K
Member Avatar for Rushabh Verma

I am trying to create copy to Clipboard Component. Here is my code: import React from 'react'; import logo from './logo.svg'; import './App.css'; class CopyClipboard extends React.Component { constructor(props) { super(props); this.state = { copySuccess: 'Copy to Clipboard!' } } copyToClipboard = (e) => { this.textContent.select(); document.execCommand('copy'); e.target.focus(); this.setState({ copySuccess: …

0
184
Member Avatar for herdhemhola

I am having problem in submitting this form when I select "1" on the number of setting in html form. The submit button is working if I select 2 in the number of sitting from html form as it will show all the form fields but when I select 1, …

0
436
Member Avatar for aveeva7

My code about filterable audio searching, here how can i add Add-To-Cart functionality? code : index.php <?php //index.php include('database_connection.php'); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <title>Voice Repository</title> <script src="js/jquery-1.10.2.min.js"></script> <script src="js/jquery-ui.js"></script> <script src="js/bootstrap.min.js"></script> <link rel="stylesheet" …

0
328
Member Avatar for Simona_1

Hello, I am making a website ... I have a body class with background color, and a div container inside that has some content. What I want to do is to make the background clickable, and when you click it it should redirect to another page. In other words, I …

Member Avatar for gentlemedia
0
421
Member Avatar for designershiv

Menu sub links overlapping when select box opens , how to fix this Check this below link for reference http://i.stack.imgur.com/lCCWO.gif

Member Avatar for Sujay808
0
3K
Member Avatar for kesavankani

Hello Frds, select box option add new state in add.already same state in condition check already exist using php pdo.please help me.

-1
323
Member Avatar for Georgia_1

currently working on a project for college. when searching coffee names from the array list , it will only show the first object in the array list but when searching others, it says 'coffee not found' any help would be appreciated public static void search () { if (numberOfCoffees > …

Member Avatar for JamesCherrill
0
301
Member Avatar for kesavankani

Hai Frds, My question is i have create select box using state,district,city and town.select state box click add option select box change text box add/edit in text box add tha value save in state select box. How do please help me

Member Avatar for Dani
0
391
Member Avatar for engrjd91

I have performed some query operations in nodeJS with mySQL and now I want to have a reactJS form to be embedded with it to display the results on web page. Can anyone give an idea how can I achieve the same? var mysql = require('mysql'); var con = mysql.createConnection({ …

Member Avatar for pankaj_patel
0
507
Member Avatar for alabamalox
Member Avatar for rproffitt
0
216
Member Avatar for alabamalox

browser application to draw, print the text. in programming language typescript. in not found google source... help! Help me find I need source code

Member Avatar for rproffitt
0
353
Member Avatar for tun712

I'm working on site preloader. I need help to animate div width on every image load **Concept** Check every image in container is loaded. On every image load increase width of loader in percent to match **100% loader width** ( 100% of viewport) on last image load. After last image …

Member Avatar for RuhiAngel
0
442
Member Avatar for sagar_14
0
297
Member Avatar for ddc1975

Hello everyone, I am new to this daniweb community and I really hope you guys will help me with this as I am baffled at what I couldn't come up with or was it not possible to do that? I want to have a checkbox on either PHP page or …

Member Avatar for ddc1975
0
2K
Member Avatar for sagar_14
Member Avatar for Cedo

Hi, I want to make online shop and I made most of it but I have problem on product page.I want for "customers" ( this is my personal project so ... ) to be able to choese and then what they choese to be store into table. I struggling with …

Member Avatar for AndrisP
1
524
Member Avatar for aveeva7

Here my form auto responce based on drop-down list, <tr> <th>Shipping Cost (Rs) : </th> <td id="findata"></td> <input type="hidden" name="shipping_cost" id="shipping_cost"/> </tr> <tr> Same page Ajax : <script> $(document).ready(function(){ $('#new').on('change',function(){ var zip = $("#zip_postal_code").val(); var country = $("#country").val(); $.ajax({ type: "POST", // url: "ajax_ship_cost_data.php", url: "sp_cost.php", dataType: "text", data: { …

0
352

The End.