Skip to content

Bezan-nBoro/IranianBankCard-JS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IranianBankCard-JS

Check validation card and get bank name and bank logo

Requirements

Step 1. Add Refrence to Head of document

<script src="Js/IrBankValidator.js"></script>

Usage

Step 2. Add This To Html Body

<!--Card Number Input-->
<input type="tel" id="CardNumber" /> 

<!--Bank Name Lable-->
<label id="lblBankName"></label>

<!--Bank Logo Image-->
<img id="bankLogo" />

<!--Validation Message-->
<span id="Validation"></span>

Step 3. Add To End of Html Body

<script type="text/javascript">
	RegisterBankCardValidator("CardNumber", "bankLogo", "lblBankName","Validation");
</script>

Are you a developer?

1-Fork it!
2-Create your feature branch: git checkout -b my-new-feature
3-Commit your changes: git commit -am 'Add some feature'
4-Push to the branch: git push origin my-new-feature
5-Submit a pull request

About

Check validation card and get bank name and bank logo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •