15,698 Topics
![]() | |
I take value from textbox as, [CODE] var perOfEasyQues = parseInt(document.getElementById("<%=txb_EasyQuesPerc.ClientID%>").value); [/CODE] but as I put 012 it takes 10. Can anybody suggest solution over it? | |
Hello, I'm trying to skip a line every 'x' queries that gets displayed. I can get the records to show but I can not skip a line every 'x' query shown. I've tried using javascript and php but can not get it to work. Can someone plz help or give … | |
I want to know how to update a href link with javascript using an image. I have a image which has to update a href which displays a lightbox. Could someone please tell me know to do this. | |
Hi there, I got this annoying problem... I have to create dynamically an image control that has got to be accesses later through javascript. In other words, I got an image that was created in the page code, and using javascript I got to be able to work with it … | |
Hallo @all my problem is XMLHTTP by Mozilla Browser is an example W3SCHOOL [URL="http://www.w3schools.com/xsl/xsl_client.asp"]http://www.w3schools.com/xsl/xsl_client.asp[/URL] [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <title>html work with xml and xsl</title> <meta content="text/html; charset=us-ascii" http-equiv="Content-Type"> <script type="text/javascript"> var xsltProcessor; var xml; var xsl; var xhttp; var ex; function checkBrowserName(name){ var agent = … | |
I started learning AJAX recently and I must say that it is very interesting. But I have a little problem understanding why [B]nodeValue[/B] is not returning any value. But when I change the [B]nodeValu[/B]e to [B]nodeName[/B] I get the right result. I am currently accessing the individual elements manually because … | |
I want like [3 drop-down menus / picker] at: [url]http://www.russian4foreigners.com/node/298[/url] (end of page) implement mine at: [url]http://www.poliscarhire.com[/url] (left side of page) currently exist ONLY 3 drop down menus... I think above site used Drupal & jQuery (source code)... well, I want as you see in my site, a total of … | |
Hi, I am using MasterPages with ASP.NET. The main contstruct of my MasterPage is a table providing a header, menu panel, main content and footer. I would like the table to at least fill the whole screen height. I've found (thru Google) a way of determining the screen height. The … | |
found this code on this website cant find the url but if I find it i will post it The code is basically the same as the following.I want to be able to place links inside the tool tip I was wondering if there was a way i could do … | |
[CODE]function getUsers(column, id) { $.get('userlist.php', {column: column, id: id}, function(output) { $("#userlist").html(output); }); setTimeout(getUsers(column, id), 5000); }[/CODE] userlist.php checks for users online. i want it to check every 5000ms (for example, doesnt have to be that) Firebug is giving me 'too much recursion' errors. I've used this exact code structure … | |
hi All I hace created job site i writed to my own CSS. but it displays in IE fine like i want. but in Mozilla it displays all borders. how can i do that in displays table like in IE. Thank you very much. this is my site [URL="http://www.karyeram.com"]http://www.karyeram.com[/URL] my … | |
I have tried the following but I am unable to do so: <link rel="stylesheet" type="text/css" href="http://7h5nk1s:11261/ecmaomexamples/SiteAssets/password_meter.css"/> <script type="text/javascript" src="http://7h5nk1s:11261/ecmaomexamples/SiteAssets/password_meter.js"></script> When I try to access these files the following line throws error: document.write('<script type="text/javascript" src="/_layouts/blank.debug.js?rev=jE3bS2JFTB63z3iWgauX9w%3D%3D"></' + 'script>'); in the sharepoint page. Urgent help needed. | |
Hi! I am a developer. I am using jquery to implement various functionalities. I am using jquery.js with jquery-1.2.6.min.js. It shows an error in the following code snippet: (!q&&!n&&c.data(this,k,new c[l][k](this,p))._init()) as object expected when I debug the web application. I am a novice in this field. Any kind of help … | |
I want to download the records of the output of search criteria to excel. As the fields for search criteria are more than 20. I am submitting the form with POST method rather than GET. On click of "Download2excel", the hidden variable name1 is set to Yes. so i will … | |
hi all, I dont really know jquery that well but im looking for a function that maybe you would know. What i would like to do is insert text into a text area where the cursor last was. I do have this little piece that i found on the web. … | |
Hi all, I need help in the alert function. I'm using count in php in which if the item is less than or equal to 10,the alert function would pop up. However my code does not work.Below is my code. Part of the php code: [CODE]echo "<td>".$row['COUNT(item)']."</td>";[/CODE] Javascript code: [CODE]<script … | |
Hi everyone, can anyone explain me why following code [U]alerts[/U] me nothing: [CODE=javascript] var text = $.ajax({ type: "POST", url: "registration.php", data: "email=" + elementValue }).responseText; alert(text); [/CODE] but when I add option "async: false": [CODE=javascript] var text = $.ajax({ type: "POST", async: false, url: "registration.php", data: "email=" + elementValue … | |
Hi Guys, Okay, my question goes like this.. I have two sections which start off as hidden (display: none) and depending on the values submitted the two areas may need to be shown. For example, if a checkbox is clicked, it displays one area. And if a specific <select> option … | |
I would like to make a tree menu with category and sub category in Php. When i click on category then display subcategory with link that subcategory page. it is with mysql database. I’m tried to make this but I can't. I want to use the tool ([URL="http://www.sothink.com/product/treemenu/"]http://www.sothink.com/product/treemenu/[/URL]) for it, … | |
I am trying to find an adjustable counter that I can use on our site to show a steady increase in dollars collected. I guess similar to the the national debt counter, but the values need to be programmable and adjustable (starting amount, increment amount, speed, etc) by me. It … | |
Hello, i was wondering how i can put text inside a <input form that disappear when the user clicks inside the form. I would like to write "Description" inside a form so they know that they have to write a description into that form. Sorry if its hard to understand … | |
Hi! I am looking for a function that will add spaces in a string in a certain manner: tmpStr: 123456789123 (always 12 digits) the desired outcome is: 123 456 78 91 23 Do anyone of you have a neat fuction for that? :) I found one question in this forum … | |
How will I parse this XML using jQuery? <item> <station></station> <headline><![CDATA[]]></headline> <showDate>12/28/2010</showDate> <showTime></showTime> <doorsOpen></doorsOpen> <buylink></buylink> <description><![CDATA[]]></description> <pubDate>Mon, 27 Dec 2010 10:48:28 PST</pubDate> </item> I have to display month and date separately.. | |
When we are on facebook page and someone sends us a message,(not chat message), or any notification does occurs, Then a red number is appeared at the top to notify us (user) about the message. even if we don't refresh the page. This happens without the page refresh, Same thing … | |
I don't know why I get the message "unexpected $end" at the last line of code - can someone help? [CODE]<?php mysql_connect(localhost,root,""); mysql_select_db(test) or die( "Unable to select database"); if(!empty($_POST["submit"])) { $apt = $_POST['apt']; $query="SELECT * FROM payments Where apt='$apt'"; $result=mysql_query($query); if(mysql_num_rows($result)) ?> <html><head><script type="text/javascript"> if ($late = "L") {$rentdue … | |
I've been stuck in a situation. I am trying to retrieve image from database using ajax. I am using php as a server side scripting language.. I need to run the js funtion on every image i fetch from the database which happens to be a while loop...But that doesnt … | |
Hello, Assume we have one button that fires ajax request, ajax call will talk 15 seconds to load the results. Assume the user clicked on that button first time and waited for 5 seconds, then he/she clicked again. In this case the page will be loaded two times. i.e. first … | |
hi guys, just want to ask some question. i have two textboxes txt1 and txt2. these two possess jquery autocompletes within.. now, what i want to do is that this two are interconnected. Meaning, the values in autocomplete in txt2 will depend upon the values inputted in txt1. consider this … | |
I've been spending a long time trying to figure this out but just can't. I've made a complete layout using CSS and XHTML; combining id styles with divs. I can't, for the life of me, figure out how to use the menu I've made to have the content of the … | |
Hey, please help me, this html file run normally in other browser but Firefox. [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>Hello everyone... </title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <!-- Redirect webpage <meta http-equiv="refresh" content="2; url=/web/forum/vanilla" /> --> </head> <body> <script language="javascript" type="text/javascript"> function … |
The End.