/ Published in: JavaScript
Expand |
Embed | Plain Text
<script type="text/javascript"> window.onload = function() { var body = document.getElementsByTagName("body").item(0); var dataRole = document.createElement("div"); var headerRole = document.createElement("div"); var contentRole = document.createElement("div"); contentRole.setAttribute("data-role","content"); contentRole.appendChild( document.forms[0].cloneNode(true) ); var footerRole = document.createElement("div"); dataRole.setAttribute("data-role","page"); headerRole.setAttribute("data-role","header"); footerRole.setAttribute("data-role","footer"); dataRole.appendChild( headerRole ); dataRole.appendChild( contentRole ); dataRole.appendChild( footerRole ); body.innerHTML = null; body.appendChild( dataRole ); var header = document.getElementsByTagName("head").item(0); var jqueryCSS = document.createElement("link"); jqueryCSS.rel = "stylesheet"; jqueryCSS.href = "https://ssl-proxy.my-addr.net/myaddrproxy.php/http/code.jquery.com/mobile/1.0a4.1/jquery.mobile-1.0a4.1.min.css"; var jqueryScript = document.createElement("script"); jqueryScript.type = "text/javascript" jqueryScript.setAttribute("src","https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"); var jqueryMobile = document.createElement("script"); jqueryMobile.type ="text/javascript"; jqueryMobile.setAttribute("src","https://ssl-proxy.my-addr.net/myaddrproxy.php/http/code.jquery.com/mobile/1.0a4.1/jquery.mobile-1.0a4.1.min.js"); header.appendChild( jqueryCSS ); header.appendChild( jqueryScript ); header.appendChild( jqueryMobile ); document.getElementById("PC21833_thCaptionAmount").setAttribute("class","null"); var titleLabel = document.getElementById("PC21833_DonationCapture1_lblTitle1"); titleLabel.parentNode.setAttribute("class","null"); var firstNameLabel = document.getElementById("PC21833_DonationCapture1_lblFirstName"); firstNameLabel.parentNode.setAttribute("class","null"); var lastNameLabel = document.getElementById("PC21833_DonationCapture1_lblLastName"); lastNameLabel.parentNode.setAttribute("class","null"); var countryLabel = document.getElementById("PC21833_DonationCapture1_AddressCtl_lblCountry"); countryLabel.parentNode.setAttribute("class","null"); var streetLabel = document.getElementById("PC21833_DonationCapture1_AddressCtl_lblAddressLine"); streetLabel.parentNode.setAttribute("class","null"); var cityLabel = document.getElementById("PC21833_DonationCapture1_AddressCtl_lblCityUS"); cityLabel.parentNode.setAttribute("class","null"); var stateLabel = document.getElementById("PC21833_DonationCapture1_AddressCtl_lblStateUS"); stateLabel.parentNode.setAttribute("class","null"); var zipLabel = document.getElementById("PC21833_DonationCapture1_AddressCtl_lblZipUS"); zipLabel.parentNode.setAttribute("class","null"); var phoneLabel = document.getElementById("PC21833_DonationCapture1_lblPhone"); phoneLabel.parentNode.setAttribute("class","null"); var emailLabel = document.getElementById("PC21833_DonationCapture1_lblEmail"); emailLabel.parentNode.setAttribute("class","null"); var cardHolderLabel = document.getElementById("PC21833_DonationCapture1_lblCardHoldersName"); cardHolderLabel.parentNode.setAttribute("class","null"); var ccNumberLabel = document.getElementById("PC21833_DonationCapture1_lblCCNumber"); ccNumberLabel.parentNode.setAttribute("class","null"); var ccTypeLabel = document.getElementById("PC21833_DonationCapture1_lblCCType"); ccTypeLabel.parentNode.setAttribute("class","null"); var expiryLabel = document.getElementById("PC21833_DonationCapture1_lblExpiryLbl"); expiryLabel.parentNode.setAttribute("class","null"); var secCode = document.getElementById("PC21833_DonationCapture1_lblSecCode"); secCode.parentNode.setAttribute("class","null"); var docInfo = document.getElementById("PC21833_lblPersonal"); docInfo.parentNode.setAttribute("class","null"); var billInfo = document.getElementById("PC21833_DonationCapture1_lblBilling"); billInfo.parentNode.setAttribute("class","null"); pmtInfo = document.getElementById("PC21833_DonationCapture1_lblPayment"); pmtInfo.parentNode.setAttribute("class","null"); } </script> <table width="320" border="0" cellpadding="2" cellspacing="2"> <tbody> <tr> <td> <table width="320" border="0" cellpadding="2" cellspacing="2"> <tbody> </tbody> </table> <h1>Make a Difference - Donate to the Clinton Foundation</h1> <p style="font-family: Veranda; font-size: 12pt;"><span style="font-family: Arial;">Thanks to supporters like you, the Clinton Foundation has seen record successes in our fight against HIV/AIDS, climate change, childhood obesity, and other significant challenges facing our world. </span><span style="font-family: Verdana;"> <span style="font-family: Arial;">Make a<strong> tax-deductible</strong> donation today to help improve people’s lives around the world. </span></span> </p> </td> </tr> </tbody> </table>
You need to login to post a comment.
