I want to calculate selectbox value in a form.  For example: item price * Quantity.   It works fine if I only have one calculation in the form:  function calculate(){     document.calcform.total.value =          (document.calcform.Chassis.value)*(doc...
I am trying to display a value $raw which is in an array format to a textbox in a CodeIgniter view  This is the function I am using in my controller:  public function pricing($raw='array') {     if ($raw === 'array')     {         ret...
So i'm trying to make a drawing application in html/javascript, where i want to save the files to mysql/phpmyadmin. My problem is connecting to the database i set up.  What's happening is that the user draws on the canvas, clicks on a save bu...
I believe in PHP, whenever a user sends a request to backend PHP page, there is a one-to-one communication started, that is, a new instance of that page is created and executed as per the request of user.  My question, if each time a new instance is...
I am trying to execute a specific query where I search for the name that i get using javascript. I have this HTML:  <a onmouseover="showDef(textContent)" href="aLinkHere.com">myWord</a>   The function showDef gets the myWo...
I'm trying to login to a system which uses mysql to store username and password but the login page is in manager.js file as below:  var express = require('express'); var router = express.Router(); var async = require('async');  va...
I am beginner of js. I want to make a editor like PHPAdmin. When click its table, the field will change to text-area. When click some where else outside of the text-area, it will change back to the filed and execute the sql.  Following is what I supp...
I am working on a web application based on struts+java+hibernate framework. The underlying database is MySQL 5.   The user activities are recorded in the DB and later on shown to other users. When a user does some activity, the information pertaining...
I'm currently working on a project which is nearly done, but there's one more problem to fix, and it is pretty crucial.  What i am trying to do is change a value (activeID) in my database when i click a certain image.  I know i'm gonna ne...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.