Autofill Script For POS (Point Of Sale) App?
Aug 11, 2009
I am looking for an autofill script to use with with a point of sale system. We would like to hook a credit card reader to our computers and when we swipe the credit card it will autofill the customers information the fields so it does not have to be done by hand on every sale.
View 3 Replies
ADVERTISEMENT
Jul 13, 2007
I found this great script to auto fill a ship address based on the bill address Code:
View 1 Replies
View Related
Aug 29, 2006
Im trying to make a "Search Many Sites from One Location". Heres my problem:
I have a form on my page which allows the user to enter
a search term and select which site he would like the results from.
(the sites dont allow URL pasting) the sites are library catalogues.
heres my idea, can this be done?:
User enters search term, selects site they want results from and
enters submit.
This takes user to a framed page with frame1 being library catalogue.
now either the frameset or frame 2 does this at timed interval gets the variable that was submited from search term entered and uses something like this bookmarklet
javascript:function ROIoiW(){var
i=0,j,A='anonymous',D,E,F=document.forms;while(i<F.length){E=F[i].elements;for(j=0;j<E.length;j++){D=E[j];if(D.type=='text'){D.value=(D.name.toUpperCase(). indexOf('MAIL')!=-1)?A+'@example.com':A}}i++}}ROIoiW();void(null)
and something to fill in the search term and press submit in frame1.
View 8 Replies
View Related
Mar 4, 2009
I am trying to automate a login to a website and am learning jscript on the fly
java script:
var webstart ={
var email = prompt('Enter your Email Address:', 'Email...');
var pwd = prompt('Enter your Password:', 'Password...');
login: function() {
[Code]...
View 1 Replies
View Related
Aug 4, 2005
A user can control the AutoFill option by enabling / disabling the
Remember Passwords option in Options - Privacy - Saved Passwords
section.
But is it possible to disable this option programatically using
JavaScript or in any other way ? I basically dont want the user's
browser to ever remmeber the username and password and hence autofill
these two fields !! So can we do anything as the page author to disable
this option completely?
View 3 Replies
View Related
Apr 6, 2010
I am trying to autofill a box by clicking a link (with return false). The function to autofill works with button tag but not in anchor tag - instead of returning false, the click event transitions to the href.
Here is the simplified code.
<!DOCTYPE html PUBLIC"-// W3C//DTD Xhtml 1.0 Strict//EN"" http://www.w3.org/TR/xhtml2/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
[Code].....
View 1 Replies
View Related
Jan 28, 2011
I need to fill a form field when I click on part of region map. I think that jquery is solution at this issue but i don't know how it work. I'don't know how to join map to form field.
View 20 Replies
View Related
Apr 6, 2010
I am trying to autofill a box by clicking a link (with return false). The function to autofill works with button tag but not in anchor tag - instead of returning false, the click event transitions to the href. code...
View 2 Replies
View Related
Jun 8, 2011
I have a simple calculator on my website which has a few options selectable by radio buttons. When the user adds selections - the total price of their order is automatically calculated and displayed in a <div> for them to see. The client then can deselect options or add according to their budget. The code which deals with this is as follows (just sections of it but you get the point ....) In the <HEAD>
<script type = "text/javascript">
var allprices = [];
var index = 0;
[code]....
View 18 Replies
View Related
Jun 22, 2010
struggling with figuring out how to fill certain types of forms. Here's a SMALL SNIPPET of a form. Parts of it would be VERY convenient if it could be automatically filled when page is loaded. Autofilling text boxes is easy enough. But I need the file box to be auto-filled with "C:/example.txt" when the page loads.
NOTE: typing value="C:/example.txt" does not work .
View 1 Replies
View Related
May 6, 2010
I'm using the autofill forms plugin for firefox which can be found here: [URL]. I use it to automatically fill various web forms. But I would like certain values to be chosen randomly from a list I create. I contacted the developer and he said the add on probably does not need a new feature because there is a 'dynamic tags' function to fill certain forms with dynamic values (e.g. the current time or date). He has given over the project to another developer and told me I probably would find a solution in a good javascript programming forum.
Basically, I just need a javascript code which chooses on item from an array randomly, I guess? Here are sample dynamic tags from the plugin:
<datetime> new Date().toLocaleString()
<useragent> navigator.userAgent
<langcode> navigator.language
<resolution> screen.width+'x'+screen.height
<clipboard> this.getClipboardText()
View 2 Replies
View Related
Jul 23, 2005
Is there a method to get the x and the y coordinates where a user click in
the screen?
View 1 Replies
View Related
May 26, 2006
How can I get the position in a image area in where I do clic?
If I have a jpeg image 400x500 and I do clic on 200x100 the script returns height=200
width=100
View 14 Replies
View Related
Sep 7, 2006
Can anyone please help/direct me to find/write a simple Javascript function to clean up a decimal point or a coma on a number.
For Example I need
10.000 to become 10000
or
10,000 to become 10000
View 6 Replies
View Related
Jul 23, 2005
I just wondered how I can refer to the following two
textboxes in this form:
<FORM action="FormWrite.php" method="post" name="submitForm">
<INPUT NAME="inputValues[etunimi]" SIZE=40>
<INPUT NAME="inputValues[sukunimi]" SIZE=40>
<INPUT TYPE="button" onclick="javacscript:sendForm();"
VALUE="Lähetä">
</FORM>
the reason the [] signs are in the name is to get all the textboxes values
in one variable
when using a php script.
- But how can I refer to it with javascript? For example; I tried
alert(document.submitForm.inputValues[etunimi].value);
View 4 Replies
View Related
Jul 23, 2005
I'm using a third-party chat application. They require that form field
names be formatted "SESSIONVAR!FIELDNAME". The bang is creating
headaches when I try to write validation script. How can I handle this
format properly? I'm not sure how to escape the exclamation point
within my code.
View 2 Replies
View Related
Jun 25, 2007
<form action="..." method="post">
<input type=image name="Image1"
src="..."/>
</form>
When I click on the image the form submitted to the server. As I can
see post data contains next additional values: Image1.x=121 and
Image1.y=64 These values are coordinates of clicked point relative to
image.
Can I get these values in onclick event handler (within the
beforeSubmit method)?
View 4 Replies
View Related
Apr 30, 2010
what's the point of using x.constructor.prototype? (highlighted in red) why not directly use x.prototype. classname to check whether 'classname' property is in this class?
View 14 Replies
View Related
Mar 22, 2010
I have a script that inserts a Smiley into a textarea for a forum script I'm working on.It works, except that the insertion will only appear at the end of all the existing text.Is there some way to have the smiley insert at the cursor point?
Code:
function AddText(form, Action){
var AddTxt="";
[code]....
View 4 Replies
View Related
Feb 2, 2010
I want to have a world map where you can hover over icons on a few countries and a popup text box will show where that place is.
View 4 Replies
View Related
Oct 20, 2006
I'm trying to utilized a more object-oriented approach to managing
window events in javascript. Thus, I am creating a "controller" object
to handle events and interact with the server. However, I apparently
don't fully understand what "this" refers to. In the code below I was
expecting that when the button was clicked (handleDeleteButtonClicked
function) that "this" would be pointing at a ViewController object.
Instead it was the Button (HtmlInputElement).
<html>
<head>
<script>
/* Constructor */
function ViewController() {
this.foo = "bar";
}
/* delete button handler */
ViewController.prototype.handleDeleteButtonClicked = function() {
window.alert("delete clicked, this=" + this + " this.foo= " +
this.foo);
};
/* initializer */
ViewController.prototype.initialize = function() {
document.getElementById("delete-button").onclick =
this.handleDeleteButtonClicked;
};
</script>
</head>
<body onload="javascript:new ViewController().initialize();">
<input id="delete-button" type="button" value="Delete">
</body>
</html>
View 28 Replies
View Related
Feb 11, 2010
I am doing a virtual point of sales page. Once the user has paid, he should be readdressed to the original web page. But this doesn't happen. I have realized the payment bank code is window.opener.location='[URL]'. I have copied their code and changed that by window.open ("[URL]") and it perfectly works. I have replicated the situation in these links...
The one that doesn't work [URL]
And the one I have modified and works [URL]
They insist their code is ok. Obviously I cannot modify their code located in their server.
View 2 Replies
View Related
Nov 18, 2009
I use the following to round off to two decimal point.It works fine
function roundNumber(rnum, rlength) {
var newnumber = Math.round(rnum*Math.pow(10,rlength))/Math.pow(10,rlength);
return newnumber;
}
[Code]....
how to get two decimal place instead of 1?
View 3 Replies
View Related
Nov 30, 2011
Function below will output price value in text field based on drop-menu option. It's working but I want it's always show value in 2 decimal point.[code]...
View 3 Replies
View Related
Jul 20, 2010
I've created a page with an image of a man where a user is able to click on an area and a div is positioned at that point containing a white circle. This code works in all browsers except IE 6 where it creates a duplicate white circle beneath the one which is placed in the correct location. How to get rid of this second circle? The circle is essentially a div with a background image assigned.
Code:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="ImageClick.aspx.vb" Inherits="ImageClick" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[URL]">
<html xmlns="[URL]" >
<head runat="server">
<title>Image Click</title>
<script type="text/javascript" language="javascript" src="JQuery.js"></script>
<script language="javascript" type="text/javascript">
window.onload = Init .....
View 5 Replies
View Related
Feb 8, 2009
I understand that there is no need to initialize a variable at the point of declaration. OTH, what is the default type of a [declared] variable? For example:
[Code]...
View 15 Replies
View Related