15,688 Topics
![]() | |
I want to run a function just for specific time (say 10 min). After specific time it will return successful if it is able to execute the function successfully or unsuccessful. The function does a large amount of data processing and updating the tables. I want to stop executing that … | |
<script> var counter1 = Math.abs(5/160); var output = counter1; alert(output); var counter = output.split('.',1); alert(counter); </script> when i run this code i got the error in firebug.. split is not a function.? | |
hi friends, I m new to javascript and asp.net . Is anyone knows what is the exact problem? [CODE] // This is asp.net snippet <marquee id="marqueeLeft" class="marqueestyle" direction="up" onmouseout="this.start();" onmouseover="this.stop();" scrolldelay="500" style="height: 99px; width: 100%;" > <asp:PlaceHolder ID="LeftPlaceHolder" runat="server"></asp:PlaceHolder> </marquee> [/CODE] When I moved the pointer to this <marquee> tag. … | |
Hello everyone, I am currently creating a small JS app. that will help me search PostgreSQL and print related data via PHP. I am using jQuery to help me but I have this small problem. I wanted to test if the code worked, by prompting the PHP file to print … | |
Hello everyone, I am trying to retrieve some data from PostgreSQL using jQuery and PHP. I should be able to enter a date as input -e.g, as 2010-08-09 and retrieve all the data that is dated August 9th- however, when I execute my javascript, all I get as an output … | |
Dear ALl I have recently made some forms using javascript (up until then I ususally did so in php). I have some simple user validation - required fields, correct format for email etc etc When submit is pressed a simple php script operates to send the detail in an email … | |
here an ajax code with javascript I just want to understand the algorithm as I'm very new :) here is the code [CODE] function check() { if (!checking) { id = getId(); if(!isValidId(id)) return; checking = true; $.ajax({ url: '/getit.php', data: 'id=' + encode(id) + "&t=" + getRandom(), cache: false, … | |
![]() | Hi, I'm trying to determine a better method of finding the index value of a form element. I need to find it because the JavaScript validation class has a function for validating a single form element, but it requires that the index number of the element in the form be … |
I dont have much experience with javascript. Please provide javascript to create something like the image below: [IMG]http://www.coolmicroscope.com/java.jpg[/IMG] Things I can't workout are: 1. top and bottom background colors as the above image 2. add two text 3. border color same as top background color [CODE]"data:text/html,<html>ΒΆ <head> <script type='text/javascript'> function … | |
Hi Hi, Please find the attached HTML Source Code. I was able to achieve Collapsing/Expand at Project Level but not at the vendor level. However, same HTML works fine with IE 8 and FF. The Expand/Collapse at the Vendor Level fails with XHMTL Strict 1.0 and IE 7. Can any … | |
So I'm trying to get 3 DIVs to line up as columns horizontally. I've got it to work in some browsers but not all. It's supposed to look like [IMG]http://www.cake-spoon.com/wp-content/uploads/2010/08/Screen-shot-2010-08-25-at-11.46.10.png[/IMG] However in some browsers it looks like [IMG]http://www.cake-spoon.com/wp-content/uploads/2010/08/Screen-shot-2010-08-25-at-11.46.30.png[/IMG] The code I'm using (Stripped of all the crap) is [code=html] <div … | |
I'm working on a project and it uses JavaScript and CSS. I don't know a thing about JavaScript and I know a little CSS. Here's the problem: I have a page that has a list of links on the left side and when you mouse over them, the contents appear … | |
I dont have much experience with javascript. Please provide javascript to create something like the image below: [url]http://www.coolmicroscope.com/java.jpg[/url] "data:text/html,<html>ΒΆ <head> <script type='text/javascript'> function blinkIt() { if (!document.all) return; else { for(i=0;i<document.all.tags('blink').length;i++){ s=document.all.tags('blink')[i]; s.style.visibility=(s.style.visibility=='visible')?'hidden':'visible'; } } } </script> <style> html, body { height: 100%; width: 100%; } body { margin : … | |
Hi there, I've been working over the past few weeks on these pages... - [url]http://www.rjt-online.com/photos.php[/url] - [url]http://www.rjt-online.com/video.php[/url] The issue I'm facing is with the Video page. As you can see, the iFrame that hold the videos themselves is working fine in IE, but when you look at it on other … | |
i want to have a multiple update record function using ajax/php, but i cannot got it correctly.. here is my code: admin_edit.php [CODE]session_start(); $lnk=mysql_connect("localhost","root","") or die (mysql_error()); mysql_select_db('world', $lnk) or die (mysql_error()); $eesn2 = $_POST['eesn2']; $eename2 = $_POST['eename2']; $eename3 = $_POST['eename3']; $eename4 = $_POST['eename4']; $eelevel2 = $_POST['eelevel2']; $eecollege2 = $_POST['eecollege2']; … | |
Hi all, I have created several validations to my forms in the web site.If a particular field is empty then a message box displayed [B]"Please enter name/address/contact number etc[/B].At the same time if I added data successfully to the database there is a message box displaying and saying [B]" Data … | |
HI! I just wanted to ask a question. All the code looks good and works exept for this line [CODE]<input name="btn1" type="image" onMouseOut="turnYellow()" onMouseOver = "turnGreen()"/> <img name="signin" src="images/images/images/sign-in.gif" border="0">;[/CODE] What I am trying to do is use an image instead of the standard submit button. Anyone know why this … | |
I have been trying to get a loaded element to fade in on Safari for about 2 hours now to no avail. Anyone aware of a fix for this? Here is my code: [CODE] $('#badgeHolder').fadeTo('slow',0); $('#badgeHolder').load('somePage',function(){ $('#badgeHolder').fadeTo('slow',1); }); [/CODE] I have also tried: [CODE] $('#badgeHolder').load('somePage').hide().fadeIn('slow'); [/CODE] Either one of the … | |
dear all, for 2 day ago, i have re-read and re-write my code in first i have very very broken code execution in web in second : being supported by mr. twain (thanks for support), i re write the code and in previewer browser ( i use mozilla 3.6.8) its … | |
Hi. I have two files, one HTML/Javascript and the other JSP. They run on different servers. I need the HTML/Javascript file to communicate with the JSP. Basically, I need to run the HTML/Javascript, pass in a variable to the JSP, run the JSP, and pass a variable back to the … | |
Hi everyone, I have Javascript function (say hello()) in page (abc.aspx) I want to call this function from (abc.aspx.cs) In .cs file I have a function say fun1() { - -- if (var==1) call javascript function here } how can I call javascript function from IF condition?? I dont want … | |
I have an ASP.Net 2.0 application (VS.Net 2008/C#). I want to populate the Treeview on my page using javascript. So far I have heard not so positive views about populating using javascript. Still I want to give it a shot. Any help is greatly appreciated. | |
One of my affiliates is having a problem with his Google Adsense and JavaScript. It works about 2/3's of the time. But on other occasions it gives an undefined error or only one ad shown. The original code is as follows: [CODE] function google_ad_request_done(google_ads) { if (google_ads.length > 0) { … | |
Hi All, I want to add a map to a webpage, with the intention for the user to be able to click anywhere on it and a small picture to be displayed where the user has clicked. I imagine that this will involve using jQuery, but I don't know how … | |
so I'm trying to manipulate elements that are name related. A div 'button' has id="phoneInput" It's corresponding div has id="phoneInput_div". When #phoneInput is hovered over... [CODE]$('.unSel').hover( function() { $(this).toggleClass('sel'); $($(this) + "_div").toggle(true); }, function() { $(this).toggleClass('sel'); $($(this) + "_div").toggle(false); } ); [/CODE] ...its corresponding #phoneInput_div needs to show, then when … ![]() | |
is it possible to set the radio button disabled on clicking the submit button | |
hi all i'm a Beginner in c# coding. i want to design a home application that will run on a single pc i want to design a menu strip but not like the menu bar that appear above the window(file,edit,view,...) my idea in design is that the menu appear in … | |
Hi, It is my 1st attempt with Ajax and I'm facing some problems. Below parts of my code. First part is working ok. But then I need to get option id attribute instead of value. And it is not working. Could you help me and check it? Thx index.php form … | |
I'm working on a site and I want to give the users option to change the background image. Of course client-side. My default background-image is put in CSS file. [CODE]body { background-image: url(images/back.jpg); overflow: visible; width: 1260px; }[/CODE] I've tried to make some javascript trigering the change [CODE]var img = … | |
I have an existing website I an trying to modify. In speedscript I have my include libraries and a veriable. Then I need to do an href with a link I have the code as follows <a href="WI_testweb/" + "custno" + ".xls">Matrix</a> The custno is the variable. Is there a … |
The End.