15,694 Topics
![]() | |
how to know idle user without refresing page using ajax plz give me solution and i also change the icon when user is idle like a facebook if our friend is online then its icon is green but when he is idle its icon r changed without reloading page ...give … | |
I want to be able to open a window with a variable. For example, I will use domain.com?reference=1234- This link will open a pop up window as follows: [CODE]<a href="javascript:popUp('http://www.domain.co.uk/staff/tpr/update_action_log.php?action_reference=<?php echo $row2['action_reference']; ?>')" title="Click Here edit this entry"><?php echo $row2['action_reference']; ?></a>[/CODE] When I open this window, it is always showing … | |
hi, i looking for a grid in jquery or other that we can move the cursor from the selected fields and change that fields directly like we done in excel the changes need to be saved in a database. any one know something like that? thanks a lot for your … | |
Hello, I am trying to get the element of an option, but seems my code is not working: <script type="text/javascript"> /*<![CDATA[*/ function reportsendipp() { if (window.XMLHttpRequest) { xmlhttp=new XMLHttpRequest(); } else { xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { ; } } xmlhttp.open("GET","report_member.php?report=" + document.getElementById("ipps").value + "&&member=" … | |
I have a multiple selectable listbox in which I can select maximum 5 data I have 5 textboxes Now I want to get the selected items texts from the listbox and populate those into the 5 textboxes when the user finishes selectiong from the listbox How can it be possible … | |
I am working on a mobile site for my library and want to include an mobile version of our catalog. But our catalog provider doesn't have a mobile version. I tried PHP scrapes, but the way the catalog handles session info made it impossible to return more than one page … | |
Hello Experts, I am developing application in which i use ajax.but i need to pass more than one variable to url for further processing. I can't use [CODE] var url="availabilitycheck.php?t="+value //it works var url="availabilitycheck.php?t="+value+"&hid="+hd1+"&chkin="+chkin; //not valid[/CODE] How can i send other variables.?? I tried using session that works but it … | |
hi to all i am making a chat app using php/mysql i am faceing a problem here ..i want that user click on button and it give him a random online user from database...but dont know how to do it ..i am trying.. [CODE]{ $i=0; while ($i < $num) { … | |
Hi Guys, I'm in need of a paginator at the bottom of a table which is being returned by Ajax's responseText. I'm having trouble as I can't seem to hook up the JavaScript with the one being produced by Ajax. I know some of you will say I need to … | |
Your help would be most appreciated. I'm dong this jquery ajax GET right. Although it submits and sends as a $_GET and is processed fine by process.php for some reason it is not reflected in the url. [CODE]jQuery('#results-submit').click(function() { jQuery('#waiting').show(0); jQuery('#container').hide(0); jQuery('div.carpark').remove(); jQuery.ajax({ type : 'GET', url : 'process.php', dataType … | |
Hi, I wanted to know how would you be able to change an image on a website to another one when refresh is hit on the tool bar in IE or how would i get it to open up a different html file when i hit refresh and i'm not … | |
Hi all I'm working on a page that has an iframe that loads a page with a file input on it. What I need to do is validate that file input to make sure that it isn't empty. Is this possible? | |
I have a Java form where I need to be able to switch a drop down with a text box using Javascript. The change would be made depending on the radio button choice the user makes. The drop down is the default form element and radio button A is checked … | |
Hi All, There is a web application am working on, while monitoring the performance i noticed that there are so many static objects,as a results so many HTTP requests. I would like to know is there any way where i can bundle all the static objects like javascript, css, images … | |
[B]<meta name="keywords" content="text" />[/B] text here may be UTF-8? If yes the: [B]<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />[/B]must come first after the keywords meta tag? | |
Hi, I have a problem in my code. I am putting a image icon in my coe and want to call the code behind function Left_Click() on its OnClick() event. But the Click event is generating after two times clicking. and I have wriiten in the Page Load event I … | |
The unfollow button is written in Java does anyone or can anyone programmaticly click the unfollow button? tried everything i know, visual basic, Java, JavaScript,, you name it,, cant do it. | |
Hi all, 1) I am trying to use Ajax and Jquery on master page. In my existing project i have used the Ajaxpro.dll it's working fine. but when i am trying to use jquery then it throws error "Object doesn't support this property or method." 2)I have taken a fresh … | |
[COLOR="Green"]hello every one hi i am new to daniweb i think i will find a solution in daniweb. hi i wanted to change my php melody1.6.4 url structure my url structure is like this [url]http://example.com/frozen/frozen-2010-movie-video_1c4063b5a.html[/url] i wanted to change it to like this [url]http://example.com/frozen/frozen2010movie/1c4063b5a[/url] i have spent my valuable time … | |
![]() | [B]I cant seem to get this code to work with my table code below -[/B] [code=javascript] <script src="jquery.js"></script> <script type="text/javascript"> $(document).ready(function(){ $(".stripeMe tr").mouseover(function(){$(this).addClass("over");}).mouseout(function(){$(this).removeClass("over");}); $(".stripeMe tr:even").addClass("alt"); }); </script> [/code] [B]Table Code-[/B] [code=html] <table width="780" cellpadding="0" cellspacing="0" border="0"> <tr style="background-image: url(templates/{TPL_NAME}/images/tr-background.jpg); background-repeat: repeat-x;" align="center" class="table_titles"> <td width="40%" align="left" height="18" style="padding-left:5px;">{TEMP}</td> <td width="6%">{LANG}</td> … ![]() |
Right. Im a php developer and I have never taken the time to study Javascript, and it always gives me a hard time. I have a drop down menu with 2 options. The default option is just Choose Payment. If I go to credit card, then nothing is supposed to … | |
Hi, I am looking to get some help as to how I can create a script that does an Instant live search which displays results as I type: For Instance: 1) I arrive at a page and it has all lists of members from a database already displayed. 2) Then … | |
Hello Web Developers! I need a simple help out here: This is my JS code: [CODE=javascript]<script language="JavaScript" type="text/javascript"> /*<![CDATA[*/ function CngClass(){ var zxcevt=window.event||arguments.callee.caller.arguments[0]; var zxcobj=window.event?zxcevt.srcElement:zxcevt.target; while (zxcobj.parentNode){ if (zxcobj.nodeName=='LI') break; zxcobj=zxcobj.parentNode; } if (zxcobj.nodeName!='LI') return; var zxcul=zxcobj.parentNode; var lis=zxcul.getElementsByTagName('LI'); for (var z0=0;z0<lis.length;z0++){ lis[z0].className=lis[z0]!=zxcobj?'off':'on'; } } /*]]>*/ </script>[/CODE] This is my … | |
Hey Guys, I am having a couple issues with a website when I view it in Internet Explorer. It works fine in Firefox, Google Chrome and probably most other browsers, but has issues with the navigational drop down and for some reason the footer is only partially coming up (cut … | |
Hi, there are many websites which allow you to create your own running route on google maps. Does anyone know how this is done? i cant find any information anywhere, tutorials and open source code. i am hoping to implement something like this into my website, weather its having to … | |
Hello Web Developers! I need a simple help out here: This is my JS code: [CODE]<script language="JavaScript" type="text/javascript"> /*<![CDATA[*/ function CngClass(){ var zxcevt=window.event||arguments.callee.caller.arguments[0]; var zxcobj=window.event?zxcevt.srcElement:zxcevt.target; while (zxcobj.parentNode){ if (zxcobj.nodeName=='LI') break; zxcobj=zxcobj.parentNode; } if (zxcobj.nodeName!='LI') return; var zxcul=zxcobj.parentNode; var lis=zxcul.getElementsByTagName('LI'); for (var z0=0;z0<lis.length;z0++){ lis[z0].className=lis[z0]!=zxcobj?'off':'on'; } } /*]]>*/ </script>[/CODE] This is my … | |
[code] private void button1_Click(object sender, RoutedEventArgs e) { ShellWindows shellwindows = new ShellWindows(); string filename; foreach (InternetExplorer ie in shellwindows) { // Get the document mshtml.IHTMLDocument document = ((mshtml.IHTMLDocument)ie.Document); // Get the script object. object script = document.Script; filename = Path.GetFileNameWithoutExtension(ie.FullName).ToLower(); if (filename.Equals("iexplore") && ie.Document.parentWindow.name = "Test") { // Make … | |
Hi there: I am running FCKEditor 2.6.4 and am looking for a solution to insert onClick and onMouseOver external javascript into the anchor tags of my editor instances. This insertion would be handled via a toolbar button. What I already know and have tried: 1. Know how to manually do … | |
Example, lets say I have L1.html and L2.html. In L1.html, I have a <div id='name'></div>. Is it possible to call that 'div' in L2.html using its 'id? If possible, how? Can you give a sample? Thanks in advance. | |
Hi! I need help calculating the summed values of a column. Also, the row values are subtracted from each other eg: [CODE] col1 col2 col3 row1 a b = a-b row2 c d = c-d row3 =a+c =b+d =a-b+(c-d) [/CODE] however there can be N number of rows. I have … |
The End.