15,116 Topics

Member Avatar for
Member Avatar for v_sriram

Hi Everyone, I am trying to write a string variable containing XML in the form of text into an iframe such that it shows up as formatted XML with the expand(+) and collapse (-) options that default in IE when opening an XML file. The first thing I tried is …

Member Avatar for v_sriram
0
677
Member Avatar for genzoman

I have an array of list boxes. I need them to become disabled if the first one is checked (with an id of disabler_0), and I need them to be enabled if that box is unchecked. Right now it doesn't work. I know I'm close, but I can't figure it …

Member Avatar for twiss
0
159
Member Avatar for manraj82

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 …

0
132
Member Avatar for gsting_88

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"> …

Member Avatar for gsting_88
0
271
Member Avatar for prem2

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

Member Avatar for Airshow
0
189
Member Avatar for -==Zero==-

Hover On Facebook To See It [url]http://www.ennaharonline.com/ar/[/url] I Wish Anyone Get It Plz

Member Avatar for twiss
0
94
Member Avatar for newbie14

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 …

Member Avatar for newbie14
0
122
Member Avatar for hermann87

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 …

Member Avatar for twiss
0
52
Member Avatar for kimi.cena

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 { …

Member Avatar for twiss
0
132
Member Avatar for praveen_dusari

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

Member Avatar for twiss
0
81
Member Avatar for dyingatmidnight

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 …

Member Avatar for twiss
0
110
Member Avatar for ben.matthews18

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> …

Member Avatar for vibhaJ
0
518
Member Avatar for ben.matthews18

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> …

Member Avatar for Sogo7
0
214
Member Avatar for aravind326

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

Member Avatar for Sogo7
0
73
Member Avatar for Tchibo

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_' + …

Member Avatar for Troy III
0
184
Member Avatar for oggiemc

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 …

Member Avatar for Troy III
0
121
Member Avatar for j_cart007

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 …

0
88
Member Avatar for Aamit

[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 …

Member Avatar for twiss
0
137
Member Avatar for phpbeginners

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); } …

Member Avatar for twiss
0
275
Member Avatar for kz13

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 …

Member Avatar for pclfw
0
225
Member Avatar for darkdai

hi, i have this pop up window which i want to make it not re sizable by the user. is that possible?

Member Avatar for javaAddict
0
59
Member Avatar for zakir ali

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 …

0
152
Member Avatar for newbie14

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. …

0
84
Member Avatar for newbie14

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 …

Member Avatar for Airshow
0
650
Member Avatar for ivan3510

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 …

Member Avatar for twiss
0
736
Member Avatar for Sorcher

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" …

Member Avatar for twiss
0
160
Member Avatar for Hani1991

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 …

Member Avatar for Hani1991
0
58
Member Avatar for cliffcc

[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 …

0
74
Member Avatar for lounestor

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 …

Member Avatar for tawes01
0
110
Member Avatar for fantasma

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 …

Member Avatar for fantasma
0
120

The End.