Smart Card Reader - Make It Run In All Browsers?
Sep 8, 2010
How can I write javascript codes to interact with a smart card reader? I have found some activex controls and examples, but I think, it will be limited to IE only.How can I make it run in all browsers, if the card reader driver is installed, and the hardware is available for use?My problem is to make sure that the user puts his/her own smart card in the reader unit before he signs up in a website (a particular website, that I will be coding for).
View 1 Replies
ADVERTISEMENT
Feb 23, 2008
I've run into a problem trying to get data from a usb card swiper into a web form. I know this is possible as I've seen it work, but don't know if javascript is the correct solution or not(i'm a php developer).
View 4 Replies
View Related
Aug 18, 2010
I have created a similar smart search like yellowpages:[URL]... Here is the problem I have with mine:
Lets say I search 'Attorneys' I start typing 'Att' ... then 'Attorneys' shows up in the smart search so I click on it and press enter. The next time I start typing 'Att' my browsers saved search field pops up over the websites smart search. Here is an image which might help explain the problem a bit more:
View 1 Replies
View Related
Sep 12, 2007
how to validate credit card and debit card no in client side using javascipt language
View 2 Replies
View Related
Jul 23, 2005
I'm having trouble with a bit of code to make a paragraph of text change colour every second to a new, random colour:
Here's the script's function:
<script type="text/javascript">
function change()
{
re="rgb("+Math.round(Math.random()*256)+","+
Math.round(Math.random()*256)+","+Math.round(Math.random()*256)+")"
text.style.color=re;
}
setInterval(change,1000);
</script>
Then you create the text you want to change colour in a paragraph with
id "text":
<p id="text"> Here is where you type your text. </p>
This works beautifully in IE and Opera, but does absolutely nothing in
Mozilla-based browsers. Can I do anything to this script to make it
work in Mozilla browsers?
View 1 Replies
View Related
Feb 15, 2012
I need to get the selection position by js and make sure that this code work for all the browsers.
For example, the user selected this text (red text is selected):
Hello world
The function should return to me array or two values wich they are: 3,9 (start and end position of the selection)
View 2 Replies
View Related
Aug 13, 2009
I have this code w/c makes a post request.
Code:
// start ajax code
var http_request = false;
function makePOSTRequest(url, parameters) {
http_request = false;
[Code]...
View 6 Replies
View Related
Jun 7, 2009
I want o make tooltip on mouseover of different links which displays the tooltips in div & which works on both browsers
View 8 Replies
View Related
May 6, 2003
Download the attached file, rename it read.html and open it. Drag the "read" link onto your Favorites|Links toolbar, and acknowlege the warning dialog. Then, from anyone's page, click the "read" bookmarklet and read along with it.
My basic premise is that vowels and digits make for a place to pause momentarily (90ms) during reading. If it reads too fast or slow, you can adust the delay factor accordingly.
I haven't tested this on other browsers yet.
View 4 Replies
View Related
Sep 9, 2007
If I have the following variable which contains the drop down menu for list of card numebrs:
var abc='<option value="1234567890123456">1234567890123456</option><option value="0987654321987654">0987654321987654</option><option value="0147852369014785">0147852369014785</option>'
How can I pass this variable to a function and mask only the dispalyed card number? i.e. to have the following result:
<option value="1234567890123456">1234XXXXXXXX3456</option><option value="0987654321987654">0987XXXXXXXX7654</option><option value="0147852369014785">0147XXXXXXXX4785</option>
Note: the number of options in the drop down menu may varry, in this example its only 3 options, it might be more or less, this is why I called it "Smart Substring".
View 1 Replies
View Related
Dec 14, 2005
I am trying to write a regex that will parse BBcode into HTML using
JavaScript. Everything was going smoothly using the string class
replace() operator with regex's until I got to the list tag.
Implementing the list tag itself was fairly easy. What was not was
trying to handle the list items. For some reason, in BBcode, they
didn't bother defining an end tag for a list item. I guess that they
designed it with bad old HTML 3.2 in mind where you could make a list
by using:
<ul>
<li>item 1
<li>item2
</ul>
However, I need to make this XHTML compliant, so I needed to add the
</li> tag into the mix. Unfortunately, the only way to find where to
put it is to find the next[*] (<li>) tag or an open list (in the case
of nested lists) or close list tag. I was trying to get a rule that
handles the list items to work, but it only matches the first item in
any list. Here is the line of code:
bbcode =
bbcode.replace(/[list(=1|=a|)](.*?)[*](.*?)([*]|[list]|[/list])/g,
'[list$1]$2<li>$3</li>$4');
First, I check to make sure that the list item is inside a list. Then,
I match the[*] tag to find the start of the item, then I match either
the next[*],, orto determine the end of the item.
This successfully prevents a list item outside of a list from being
made into a <li> element, but only matches the first list item in a
list. Is there any way to make this match all occurances of this
pattern without looping over the statement until the pattern can no
longer be found?
View 13 Replies
View Related
Apr 17, 2007
I want to do scrolling like done in google books (acrobat reader
style)
http://books.google.com/books?vid=I...GvO7VKdoRrLLsJQ
it could be done by scrollTop & scrollLeft ... but how to get exact
effect like in acrobat reader.
View 2 Replies
View Related
Mar 14, 2003
I'm fooling around with building a form that grows depending on the users input (relatively new to DOM 2 - but fun stuff!) I'm working on getting it to work (rather than being pretty - there are many improvements that could be made).
My question is has anyone seen any similar examples out there? The more I build on this thing, the more I believe there has to be another way... (like rather than creating every pull-down box - yes, I should put that into it's own function! - should I be playing with visibility and positioning?) Code:
View 1 Replies
View Related
May 4, 2006
I have an application where I have 9 items to choose from and desire a table that will allow only 3 items (any 3 items) to be chosen then check out of the table.Check out can not be allowed unless only 3 items are selected.
Is the JScript applications somewhere that will perform this logic?
View 2 Replies
View Related
Dec 5, 2006
I have an autosave feature that, well... autosaves every minute. Now I could very well become the biggest abuser of my own feature. I currently have 8 windows open - I tend to just leave windows open for a long time. As a result, the javascript would be running every minute saving, creating unnecessary load on the server.
How could I make the autosave smart and only save if they are actively "working" with it? The only thing I can really think of is to have like a variable that sets to true whenever something happens, set to false whenever it saves, and only save when the var is true. Problem is, I have a lot of functions for events that I would need to attach it to... I'm sure I would miss it somewhere.
View 3 Replies
View Related
Jul 23, 2005
Is it possible to use javascript to detect if a screen reader is
running a on a users machine?
I know that on a pc, screen readers use the MSSA interface. Is there
a way to detect whether this is operational or not?
View 8 Replies
View Related
Jul 13, 2006
I would like to know if anyone has some javascript code that reads an
external, arbitrary, XML feed, and can display the 2 or 3 latest
submissions based on the XML src.
Is such a task even possible with just client-side javascript?
View 1 Replies
View Related
Jun 2, 2009
I'm using this rich text editor. Whenever a user pastes rich text from a program like Microsoft Word, the program's smart quotes are not understood by the browser (they appear as a diamond with a question mark in it). I ran a php function on the post value to replace all quotes with ascii characters, but realized that it also replaces the quotes present in the html generated by the javascript.Is there a way to convert smart quotes to normal quotes without also tampering with the html content?
View 1 Replies
View Related
Mar 28, 2006
I need information (sure, i used google but couldn't find anything useful yet) about automating/adjusting Acrobat Reader using javascript. I need to print multiple documents without having to open them individually and selecting the print option on each document. I also need to adjust the user interface. Sometimes printing is allowed, sometimes it is not. So i need a way to disable (or remove) the print button from the default toolbar.
Anyone has experience (sample code) or documentation i can use?
View 1 Replies
View Related
Sep 26, 2009
Why this code is not working on Webkit browsers:
Only jquery and the plugin printed above are loaded, so there shouldn't be any conflicts.
HTML:
Chrome gives the following error: Uncaught TypeError: Object #<an Object> has no method 'followUser
View 10 Replies
View Related
Mar 20, 2010
I have a submenu that expands over the adobe pdf reader addon/plugin. See this basic exampleI need to make it so that the menu stays above the plugin. Currently, parts of it are cut off.After some research I came across the idea of placing an iframe below the submenu to force it to stay on top. As the topic suggests this is called an "iframe shim" and I have been some what successful. See this basic example one submenu is shown on page load because i plan to take screen shots of it) The only problem is that it doesn't work in opera. I have tested it in chrome and firefox and they are working. I can't test it in ie8 at the moment because the plugin for some reason just won't work on the page, however i have tested the approach before and it did work in ie
View 1 Replies
View Related
Nov 30, 2011
I have a table Data gridfield.jpg and I want to scan bar codes in a field (Jobe_code) and after that this code would be copied to a empty field on the gried.
View 2 Replies
View Related
Jul 20, 2005
Has anyone got a script to run a higher or lower card game on a web page.
View 1 Replies
View Related
Jun 14, 2006
I need a simple that will validate the CVV2 (the 3 digit security code) and the credit card number, then submit it securely.
View 6 Replies
View Related
Jul 23, 2005
Description: I have created flash cards using html layers, jpegs, and
javascript. The way I designed it is, I have words and their
descriptions (meaning) as jpeg files. Each word and it's meaning are
on separate layers. I can go to the previous card, the next card, or
see the answer( Meaning). (This is my navigation.) Each link (previous
etc..)is a hot spot on every image. When I click on any hotspot I pass
the image name and layername, to show a particular image on a
particular layer.
Problem: What I want to do is:
1.) I want to put another hot spot or link on the site e.g.shuffle,
that would randomize the order of images and the associated layer.
2.) I would like to put the counter somewhere on the page which would
display the card number and total number of cards in the series e.g. 1
of 10.
Do you think these changes are possible with the way I created my
flash cards? If so, could anyone help me? If not, is there a better
way to create flash cards using javascript? Is there any tutorial that
would help me?
View 3 Replies
View Related
Aug 30, 2009
having trougle validating my page as XHTML strict due to the peresence of a form with name tag. I am using JS for the validation. How can i change the JS code to still work if I replace the form's name tag with an id tag?
View 2 Replies
View Related