15,897,891 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 11686005 (Top 17 by date)
Member 11686005
1-Sep-15 14:42pm
View
I send all code to read and help me.?
Member 11686005
1-Sep-15 7:45am
View
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Captcha</title>
<script type="text/javascript">
/* Function to Generat Captcha */
function GenerateCaptcha() {
//var chr1 = Math.ceil(Math.random() *10) + '';
//var chr2 = Math.ceil(Math.random() * 10) + '';
//var chr3 = Math.ceil(Math.random() * 10) + '';
var str = new Array(4).join().replace(/(.|$)/g, function () { return ((Math.random() * 36) | 0).toString(36)[Math.random() < .5 ? "toString" : "toLowerCase" ](); });
var captchaCode = str + chr1 + ' ' + chr2 + ' ' + chr3;
document.getElementById("txtCaptcha").value = captchaCode
}
/* Validating Captcha Function */
function ValidCaptcha() {
var str1 = removeSpaces(document.getElementById('txtCaptcha').value);
var str2 = removeSpaces(document.getElementById('txtCompare').value);
if (str1 == str2) return true;
return false;
}
/* Remove spaces from Captcha Code */
function removeSpaces(string) {
return string.split(' ').join('');
}
</script>
</head>
<body >
<div style="border: 2px solid gray; width: 700px;">
Generating Captcha Demo
Enter the Captcha Text:
<input type="text" id="txtCompare" />
<input type="text" id="txtCaptcha" style="text-align: center; border: 2px dashed red; background-image:url(captcha/1.jpg) font-weight: bold; font-size: 20px; font-family: Modern" />
<input type="button" id="btnrefresh" value="Refresh" />
<input id="btnValid" type="button" value="Check" />
<br />
<br />
</div>
</body>
</html>
Member 11686005
1-Sep-15 2:28am
View
i search bout cant find
so thanks to answer
Member 11686005
31-Aug-15 10:11am
View
I send completely code in first comment. Please help me.?
Member 11686005
31-Aug-15 10:10am
View
Yes I have js. But when I clicked check don't send to href locations.
Member 11686005
31-Aug-15 7:55am
View
hi i use your solution bout my check bottom don't word please check my code to help me ?-----
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication1.WebForm1" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>PanelAghsat</title>
<link href="Content/bootstrap.min.css" rel="stylesheet" />
<link href="Content/bootstrap-theme.min.css" rel="stylesheet" />
<link href="modern-business.css" rel="stylesheet" />
</head>
<body>
<form id="form2" runat="server">
<div class="row ">
<div class="col-md-4">
<div class="panel panel-default">
<div class="panel-heading wi">
<span class="fa fa-list fa-x colo1"></span>
پرداخت مستقیم اقساط با شناسه
<%-- <img class="new" src="img/2.gif" />--%>
</div>
<asp:Label ID="lblExternalGhestCaptchaMsg" Style="color: Red; font-weight: bold; padding-top: 50px;" runat="server" Text="">
<button class="btn btn-primary colo colo3" type="button" data-toggle="collapse" data-target="#collapseExample" >
<span style="padding-right: 30px; padding-left: 30px">تعــاونی خاص </span>
</button>
<button class="btn btn-primary colo colo3" type="button" data-toggle="collapse" data-target="#collapseExample" >
<span style="padding-right: 30px; padding-left: 30px">حامی الکترونیک </span>
</button>
<div class="collapse" id="collapseExample">
<div class="well1 ">
<input type="text" name="CompanyId" id="CompanyId" value="000" /><br />
شناسه قسط <input type="text" id="ExternalGhestID" value="" /><br />
شماره تلفن همراه
<input type="text" id="ExternalCellPhone" value="" />
<input type="button" name="check" value="check" />
<img class="TABLET" src="img/1.jpg" id="imgCoAghsat" />
</div>
</div>
</div>
</div>
</div>
</form>
<div>
</div>
<!-- jQuery -->
<script src="Scripts/jquery-1.9.1.min.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="Scripts/bootstrap.min.js"></script>
<!-- Script to Activate the Carousel -->
<script>
function DetectCoAghsat(id) {
if (id == 190) {
var element1 = document.getElementById("CompanyId");
element1.value = "190";
var Img = document.getElementById("imgCoAghsat");
Img.src = "img/tavoni.png";
}
else if (id == 240) {
var element1 = document.getElementById("CompanyId");
element1.value = "240";
var Img = document.getElementById("imgCoAghsat");
Img.src = "img/Hami card.png";
}
}
</script>
<script>
function btnExternalPayGhest_Click(id) {
var CompanyID = document.getElementById("CompanyID").value;
var ExternalGhestID = document.getElementById("ExternalGhestID").value;
var ExternalCellPhone = document.getElementById("ExternalCellPhone").value;
if (id == 190) {
location.href = 'http://www.tkhkportal.com/frmInstallmentPayment.aspx?ReturnUr
Member 11686005
17-Aug-15 3:31am
View
thanks bout you answer and help
Member 11686005
17-Aug-15 2:30am
View
i sen code that is clear?
Member 11686005
17-Aug-15 2:21am
View
<div class="collapse" id="collapseExample">
<div class="well1 ">
<tr>
<%--<td> شناسه قسط <input id="aghsat" type="text" /><br />
شماره همراه <input id="cellphon" type="text" /><br />
کد کپچا <input id="cellphone" type="text" /><br />--%>
<td> <asp:Label ID="lblExternalGhest" runat="server" CssClass="margin" Text="شناسه قسط">
<asp:TextBox ID="txtExternalGhest" runat="server">
<br />
<asp:Label ID="lblExternalCellphone" runat="server" Text="شماره تلفن همراه ">
<asp:TextBox ID="txtExternalCellphone" runat="server">
<br />
<input type="text" id="txtExternalPayGhestCaptcha" runat="server" class="form-control "
style="border-style: none; border-color: inherit; border-width: medium; background-color: #233e84;
color: red; font-family: 'Tahoma'; font-size: large; font-weight: bold; font-variant: normal;
letter-spacing: 5pt; width: 123px;padding-top:1px; margin-top:6px; background-image: url('../img/back.capcha1.jpg'); "/>
<input type="button" />
<asp:TextBox ID="txtExternalPayGhestVerification" runat="server" class="form-control cap1">
<asp:Button ID="btnExternalPayGhest" runat="server" Text="بررسی" CssClass="btn btn-warning colo colo3 btncheck " OnClick="btnExternalPayGhest_Click" />
</td>
<td> <img src="img/1.jpg" id="imgCoAghsat" style="margin-right:267px;margin-top:-256px; " /></td>
</tr>
</div>
</div>
</div>
</form>
(cs code)
protected void btnExternalPayGhest_Click(object sender, EventArgs e)
{
if (txtExternalPayGhestVerification.Text.ToUpper() == txtExternalPayGhestCaptcha.Value.ToUpper())
{
lblExternalGhestCaptchaMsg.Text = "";
}
else
{
lblExternalGhestCaptchaMsg.Text = "خطا - لطفاً اطلاعات کادر فوق را بدرستی وارد نمایید";
return;
}
doExternalPAyGhest();
}
}
}
this is server side i need to use client side this part
Member 11686005
17-Aug-15 2:16am
View
do you have email to send some file to see complete
Member 11686005
17-Aug-15 1:42am
View
but don't work help me
Member 11686005
15-Aug-15 4:43am
View
i have one form with 3 parameters( GhestCompanyID ,ExternalGhestID , ExternalCellPhone)i mean cstomer fill this 3 parameter when click to بررسی button i need send some parameters to other page
Member 11686005
5-Aug-15 3:45am
View
OK i cant explain English very good bout bout i need some client side code to send information like phone number with one form for 2 different button
Member 11686005
30-Jun-15 0:30am
View
no i have not a HTML code just have control in asp
Member 11686005
5-Jun-15 22:46pm
View
hi sorry but i don't know in which line of code i can use
Member 11686005
24-May-15 3:13am
View
thanks about good solution
Member 11686005
24-May-15 1:13am
View
i cant underestand please help me
Show More