15,688 Topics
![]() | |
I have got a grid[Grid1] that build its data when a button[search] is clicked, I managed to Ajaxify it by placing it in an UpdatePanel. Before Ajaxifying Grid 1, the grid used to populate another grid[Grid2] and some other controls[Text and Labels] when a row in Grid 1 was clicked … | |
Here are the picture.. [IMG]http://img830.imageshack.us/img830/6774/chequea.jpg[/IMG] [CODE]<jsp:useBean id="chequeStopBean" scope="session" class="my.com.infopro.ibank.ui.bean.ChequeStopBean"/> <jsp:useBean id="labelBean" scope="session" class="my.com.infopro.ibank.ui.bean.LabelBean"/> <jsp:useBean id="lang" scope="session" class="my.com.infopro.ibank.ui.bean.LanguageBean" /> <%@ page language="java" import = "java.util.*" errorPage="" %> <%@ page import="my.com.infopro.ibank.dto.ChequeDTO"%> <% request.getSession(true); String contextPath = request.getContextPath(); chequeStopBean.queryAccList(); //RequestDispatcher dispatcher = null; %> <html> <head> <title><%=labelBean.getLabel("STOP_CHEQUE")%></title> <meta HTTP-EQUIV="Pragma" content="no-cache"> <meta HTTP-EQUIV="Expires" content="-1"> … | |
Dear team, "ajax" is not supporting for cross-domain compatibility.I want to implement cross-domain compatibility.Did any one know new technology or technique to implement the cross-domain compatibility. Thank you, With Regards, Prem | |
Hover On Facebook To See It [url]http://www.ennaharonline.com/ar/[/url] I Wish Anyone Get It Plz | |
Dear All, I have a page at this link [url]http://183.78.169.54/v3/addTab.php[/url]. The problem now if you click on the Driver Employment tab and press Add button at the bottom the content will change to Driver Details. But the tab Driver Employment is still highlighted not the Driver Details. Below is the … | |
Hi, I have the following question, if any of you could please explain to me. I have seen html form elements such as this : [CODE]<input type="button" onChange = "return randomFunction(arg x, arg y, arg z)" />[/CODE] Can somebody explain what this is and how it is different to this … | |
Hello, I have a small code which needs to authenticate against a service and return me the key. Following is the code, which works fine in IE8, the same is not working in Firefox(getting empty response). Any help is highly appreciated. [CODE] if (window.XMLHttpRequest) { http=new XMLHttpRequest(); } else { … | |
hi all, i am using json and codeigniter for a project which it has 2 language preferences..english and french...my problem is.. in json number field has to accept (,) instead of (.) in french language can any one guide me on this... thanks, Praveen | |
Hello I'm have this idea for a part of the database I'm building but my javascript knowledge is lacking entirely (I'm a software engineering student and we touched on javascript once and I barely remember anything we did). I have a form where a user is entering the details for … | |
Hi, I have a contact form which is laid out like the following; [CODE]<form id="form1" name="form1" method="post" action="send.php"> <table width="362" border="0" align="center" class="tbltxt"> <tr> <td height="30" colspan="2" style="color:#174AA8; text-decoration:underline;"><b>Send us a message!</b></td> </tr> <tr> <td width="95" height="30"><label for="Name">Name</label></td> <td width="257"height="30"><input name="Name" type="text" id="Name" style="width:200px;" /></td> </tr> <tr> <td height="30"><label for="Subject">Subject</label></td> … | |
Hi, I have a contact form which is laid out like the following;[CODE] <form id="form1" name="form1" method="post" action="send.php"> <table width="362" border="0" align="center" class="tbltxt"> <tr> <td height="30" colspan="2" style="color:#174AA8; text-decoration:underline;"><b>Send us a message!</b></td> </tr> <tr> <td width="95" height="30"><label for="Name">Name</label></td> <td width="257"height="30"><input name="Name" type="text" id="Name" style="width:200px;" /></td> </tr> <tr> <td height="30"><label for="Subject">Subject</label></td> … | |
Hi, I am trying to delete some cookies in a custom logout script. For this i have to delete cookies of different domains. How do i delete a cookie by specifying name and domain name. Would appreciate early help. Thanks, Aravind | |
Hello, 1. I have the following script: function selectThis(id){ var locationstring = "process.php?value=" + id; ///// locationstring += "&bs=" + $('#bs_' + id).attr("selectedIndex"); locationstring += "&ad=" + $('#ad_' + id).attr("selectedIndex"); locationstring += "&ns=" + $('#ns_' + id).attr("selectedIndex"); locationstring += "&wt=" + $('#wt_' + id).attr("selectedIndex"); locationstring += "&in=" + $('#in_' + … | |
Hello all, Can someone explain the attached code please..And in particular, how the program execution flows between the different scope blocks.. Thanks [code] <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>Recursion</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type="text/javascript"> //<![CDATA[ function runRecursion() { var addNumbers = function sumNumbers(numArray,indexVal,resultArray) { // recursion test if (indexVal … | |
Hi I've been working on a Javascript Image slideshow where the user can apply image effect(s) to the slide(s) while the slideshow running. Now the problem is when I apply effect to the image it works but when the loops starts again the image effect shows on previous image, for … | |
[code] function encrypt_url($string) { $key = "1AT2#mr(luv^iU3tp>"; $result = ''; for($i=0; $i<strlen($string); $i++) { $char = substr($string, $i, 1); $keychar = substr($key, ($i % strlen($key))-1, 1); $char = chr(ord($char)+ord($keychar)); $result.=$char; } return urlencode(base64_encode($result)); } [/code] $data=encrypt_url('http://www.test.com'); Normally through PHP code i got encrypted value -> pqW1xGxSnOmf46Pqw9zJYdffqw%3D%3D When i try through … | |
Hi All, I want to run a HIDDEN FUNCTION when I click "OK"...not "CANCEL" in window.onbeforeunload() is it possible? [CODE]<script type="text/javascript"> window.onbeforeunload = function() { var bUnsavedFields = true; if(bUnsavedFields) { window.event.returnValue = "I WANT THE OK BUTTON NOT CANCEL :) TO TRIGGER HIDDEN FUNCTION AFTER EXIT"; } setTimeout("myFunction();",5000); } … | |
Hi all...I am new to ajax and facing an uneven problem. I am validating login form and calling the same link (with additional parameters) through xmlhttp.open(). First the form code [CODE]<div id= "login" method="GET" > <form action="" id="contactform"> <input type="image" src="login-button.jpg" name="login_user" id="button" value="Login" alt="Submit button" onclick="loadXMLDoc(username.value, password.value)"/> </form> <span … | |
hi, i have this pop up window which i want to make it not re sizable by the user. is that possible? | |
function main() { if(window.XMLHttpRequest) { ab=new XMLHttpRequest; } else { ab=new ActiveXObject("Microsft.XMLHttp"); } ab.onreadystatechange=function(){ if(ab.readyState==4 && ab.status==200) { document.getElementById("progress").innerHTML=ab.responseText; } } ab.open("GET","querygoogle.php"); ab.send(); } function test(id) { if(window.XMLHttpRequest) { xmlhttp=new XMLHttpRequest; } else { xmlhttp=new ActiveXObject("Microsft.XMLHttp"); } xmlhttp.onreadystatechange=function(){ if(xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("testdiv").innerHTML=xmlhttp.responseText; //alert(xmlhttp.responseText); } } xmlhttp.open("GET","test.php",0); xmlhttp.send(); } function … | |
Dear All, Here is my link [url]http://183.78.169.54/v3/addRoute.php[/url]. I have managed to build up where I can add dynamic rows of combo boxes and remove it. I am now stuck where upon submission I must have minimum 2 rows. Secondly I must make sure all the combo box values are selected. … | |
Dear All, I have a page at this link [url]http://183.78.169.54/v3/addTab.php[/url]. Then you can click the Driver Employment tab and add just two rows and press the Add button. Then it will take to Driver Details and show all the fields are required. The problem here is that the Driver Employment … | |
Hi! I have a page, and one part of this page (javascript) reads the duration of song. But what if user's javascript installed on computer doesn't support this? Do all javascript support this function? Here it is: [CODE] //for some browser this function (like IE): duration = document.sound.currentMedia.durationString; //and for … | |
Hello. i was wondering if this can be done,personally my knowledge of Java / ajax is bad.. How can i make the submit button unable to be clicked if there is no data in the input (usermsg)? [CODE]<form name="message" action=""> <input name="usermsg" type="text" id="usermsg" size="100" /> <input name="submitmsg" type="submit" id="submitmsg" … | |
hello people I saw a button that adds text to where the typing cursor is put.. for example: if the cursor is between the (how) and (you) in the following: how you. when you click the button it adds text between those two words so that it becomes: how are … | |
[CODE] <style type="text/css"> #marqueecontainer{ position: relative; width: 650px; /*marquee width */ height: 150px; /*marquee height */ background-color: white; overflow: hidden; border: 2px Solid Purple; padding: 2px; padding-left: 4x; } </style> <script type="text/javascript"> /*********************************************** * Cross browser Marquee II- c Dynamic Drive (www.dynamicdrive.com) * This notice MUST stay intact for legal … | |
I have 6 different datatables. I created one massive YUI dialogbox. I need to have different views depending on which datatable is being accessed. I cant seem to be able to call the function? do I need more arguments to point to the 'datatable' first and then to point to … ![]() | |
Greetings! I'm having a problem showing a set of records using jQuery. When I click in the designated link, the script only shows the first record that comes from the database. Am I doing something wrong? Here's the code jQuery [CODE]$(document).ready(function() { //hides the slickbox as soon as the DOM … | |
Hai friends I am creating a file upload process, In that process I want to validate whether uploaded file contents are empty or not... i want to validate txt, doc, pdf, xls , ppt, docx, msg these extension files. when a .doc file is created then it has the file … ![]() | |
hello I have been developing a code for changing currency on onclick here is a demo code [CODE]<form id="setCurrency" action="{$request_uri}" method="post"> <select name="language" class="language"> <option value="">Select Currency</option> {foreach from=$currencies key=k item=f_currency} <option value="{$f_currency.name}" OnClick="location.href='javascript:setCurrency({$f_currency.id_currency})';">{$f_currency.sign}{$f_currency.name}</option> {/foreach}</select> <input type="hidden" name="id_currency" id="id_currency" value=""/> <input type="hidden" name="SubmitCurrency" value="" /> </form>[/CODE] .......................... It works fine … |
The End.