I am trying to read a table (table id= "Table1") in a document and find all instances of tag names "span" extract the value contained in each span tag.
I used the following and it does not work:
function flag() {
var text = ""
var table1 = document.getElementById("Table1");
var...
How can I remove a comma in string e.g. 1,256.50
I would like to remove the ',' and store 1256.50 in a new variable. What I am trying to do is get the numeric value.
Regards,
asfaw
Is there a way (JavaScript) to load (offscreen images and caching) images in a particular directory on the webserver. The directory could be "images/". I would like to do this without specifying the file name. I would like to do this using Javascript
Your help is very much appreciated.
asfaw
Hello all,
What do I need to have to learn c. I would appreciate if you can suggest a compiler that works on Windows 2000 and XP. I do not need an IDE.
Thank you.
asfaw
Hello all,
For the life of me I can not figure out why the following code does not work. Please note that when I replace
var data = new String(prompt("Please enter sample numbers separated by a comma",""));
var numbers = data.split(",");
with :
var numbers = new...
Hello all,
I have the following MyISAM tables:
Forum
(forumid, name, description)
Post
(postid, forumid, userid, topicid, subject, message, date)
Topic
(topicid, userid, forumid, subject)
User
(userid, login, password)
I am trying to get a list of all the forums groupd by forum name, total...
I am new to Javascript. My question my question my be basic to most of you. I have a form to enter name and e-mail address.
Name E-mail
What I wanted to do is the following:
1. Give the user to be able to insert more one lines to add name and e-mail i.e. when the form opens, it has lets...
I am not sure using md5 is correct in the code below:
<?php
$Host ="localhost";
$User = "root";
$Password =md5("secretl");
$DBName="NewDatabase";
$TableName="Feedback";
$Link = mysql_connect($Host, $User, $Password)
or...
I am able to connect to mysql but not to a database. This is the code I am trying to execute.
<?php
// Establish a connection to the MySQL DBMS
$connection = mysql_connect("localhost", "root", "");
// Use the winestore database
mysql_select_db("winestore", $connection);
// Run a query...
Does any one know why the sql command below does not work?
CREATE TABLE ENROLLS
(enrollmentID INT NOT NULL AUTO_INCREMENT,
courseID SMALLINT NOT NULL,
sectionID SMALLINT NOT NULL,
studentID SMALLINT NOT NULL,
grade SMALLINT,
PRIMARY KEY(enrollmentID),
INDEX(courseID),
REFERENCES...
I am using Micorosoft Access 2000 as a fornt end and MySQL as a back end.
I hope someone may be help me to clarify the following:
Q.1. Where do I specify cursor location to be adUseClient
Q.2. Where do I specify cursor type to be adOpenStatic
Q.3. Where do I specify lock types to be...
Hello everyone,
While I was reading Access Cookbook by Ken Getz, Paul Litwin & Andy Baron found a code that allows user at log-in time to Dynamically Link SQL Server Tables at Runtime. I modified the code hoping it will work for MySQL too. I am getting the following error:
3170: Couldn’t find...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.