15,699 Topics

Member Avatar for
Member Avatar for gchurch

hey all i'm new to this all and was wondering if anyone can help me solve a prob i'm havin with my project for a booking system. i have a drop down menu with the day, one for months, and finaly year... all the values are real time dates but …

Member Avatar for hielo
0
138
Member Avatar for chintan_1671

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 …

Member Avatar for chintan_1671
0
135
Member Avatar for sam023

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

Member Avatar for vhexp
0
147
Member Avatar for shridharmaster

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

Member Avatar for deepshikha.joha
0
824
Member Avatar for koveras vehcna

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 …

Member Avatar for koveras vehcna
0
238
Member Avatar for koveras vehcna

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 …

Member Avatar for koveras vehcna
0
350
Member Avatar for maxelcat

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 …

Member Avatar for vhss
0
135
Member Avatar for Ahmedn1

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

0
52
Member Avatar for Rkeast

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 …

Member Avatar for hielo
0
1K
Member Avatar for slamdunk

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 …

Member Avatar for hielo
0
241
Member Avatar for Techsavy

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 …

Member Avatar for hielo
0
121
Member Avatar for samarudge

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 …

Member Avatar for hielo
0
125
Member Avatar for ihatestarch

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 …

Member Avatar for ihatestarch
0
118
Member Avatar for slamdunk

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

Member Avatar for peter_budo
0
175
Member Avatar for hindu times

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 …

Member Avatar for hindu times
0
106
Member Avatar for pchsmvp

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']; …

0
37
Member Avatar for heshanm

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 …

Member Avatar for vhss
0
73
Member Avatar for phpDave

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 …

Member Avatar for phpDave
0
89
Member Avatar for xylude

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 …

Member Avatar for xylude
0
486
Member Avatar for aripurwahyudi

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 …

Member Avatar for aripurwahyudi
0
191
Member Avatar for letheredge

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 …

0
40
Member Avatar for hitro456

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 …

Member Avatar for dnanetwork
0
125
Member Avatar for LotusShiv

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.

Member Avatar for LotusShiv
0
190
Member Avatar for Lightninghawk

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

Member Avatar for mplok
0
216
Member Avatar for bsewell

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 …

0
57
Member Avatar for seniramsu

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 …

Member Avatar for soldierflup
0
65
Member Avatar for KcNaveen
Member Avatar for KcNaveen
0
100
Member Avatar for s.moosavi

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 …

Member Avatar for s.moosavi
0
96
Member Avatar for weles

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 …

Member Avatar for weles
0
84
Member Avatar for george61

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

Member Avatar for Airshow
0
454
Member Avatar for SKbirdie

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 …

Member Avatar for SKbirdie
0
212
Member Avatar for monstercameron

this is how 3d in html should have been done! displaying 3d models is the easy part...then using javascript, python, actionscript or java the edit the scene the tag "3dobject" denotes a single 3d file solely for viewing the tag "3dworld" denotes a list of 3d files within a world …

Member Avatar for monstercameron
0
107
Member Avatar for sharonig

Hi, I have a parent element that registered to the keydown event. somewhere down the hierarchy I have a table and some buttons. It appears that after I press the buttons, I only get the keydown event in the parent after 3 key strokes. I put breakpoints and the event …

Member Avatar for Taywin
0
78
Member Avatar for aldm

Hi, I have some problems with validating form in javascript. I have a following HTML code: <form action="registracija_preview.php" method="post" onsubmit="return ValidirajFormu();"> </form> <div id='poruka></div> What I want in validation is to check all the field in form (check for required fields etc). I want to show user error message in …

Member Avatar for gumape
0
147
Member Avatar for kumar selva

why we are using java script in IT COMPANY? how to develop a project in IT company?

Member Avatar for Taywin
-1
48
Member Avatar for mymattu

Iam getting this error code ;Line 5, char 45, unterminated string constant code 800A03F7 with the ff script. Please help. [CODE]var thisAd = 0; function rotate() { var adImages = new Array("images/green.gif", "images/red.gif","images/gre.gif","images/ apple2.gif"); thisAd++; if (thisAd == adImages.length) { thisAd = 0; } document.getElementById("adBanner"). src = adImages[thisAd]; setTimeout(rotate, 3 …

Member Avatar for Taywin
0
93
Member Avatar for keychains

I am trying to create a JavaScript menu, but I can't hide the sub-menu? I am trying to create a menu with JavaScript for a friend of mine. I can't get the part that drops down to be invisible though. My code is below. Any ideas? HTML File: <!DOCTYPE html …

Member Avatar for Graphix
0
229
Member Avatar for raghujosh

I have a JSP( a form) that calls a servlet when I click the submit button. I want to add javascript validation to the form fields. When I try to embed the script it does not run. I tried to link the file to the JSP, but that also did …

Member Avatar for javaAddict
0
2K
Member Avatar for mymattu

Iam getting this error code ;Line 5, char 45, unterminated string constant code 800A03F7 with the ff script. Please help. var thisAd = 0; function rotate() { var adImages = new Array("images/green.gif", "images/red.gif","images/gre.gif","images/ apple2.gif"); thisAd++; if (thisAd == adImages.length) { thisAd = 0; } document.getElementById("adBanner"). src = adImages[thisAd]; setTimeout(rotate, 3 …

Member Avatar for codeorder
0
42
Member Avatar for Silvershaft

Hey! Is it possible to make RSS feed of a site what requires login before you can see the contents of it? Thanks in advance!

Member Avatar for Silvershaft
0
93
Member Avatar for mrkaran

i have object tag as: [CODE]<object type="application/x-shockwave-flash" id="aa" data="act_pass_satell.swf?a=12" width="900" height="645">[/CODE] how can i change the src attribute of object tag?

Member Avatar for almostbob
0
75
Member Avatar for eirikra

This might be a stupid question, as I am a complete beginner in the world of AJAX/Javascript. However, I am trying to build a website using Ajax combined with PHP/MySQL. The issue I have at hand is that the PHP variables and functions that I have included in the header.php …

0
49
Member Avatar for ranganaMIT

hi guys, I'm doing a simple system using codeigniter i need to implement search using jquery ajax in it, this is my fist coding experience in codeigniter and jquery, so i need a good source to learn about it, please suggest me good study material for studying it? regards, Rangana

Member Avatar for ranganaMIT
0
299
Member Avatar for bjeffries

I have a jquery slider that is not cross browser compatible. It works in all browsers except FireFox. From reading other forums it says that FireFox needs to read document.getElementByID to properly read the javascritp. Does anyone know a way I can rewrite this code to still make the slider …

Member Avatar for Taywin
0
92
Member Avatar for ashu2401

Hi everyone, I am a beginner in javascript and am running into a small issue. In the code snippet below, the desired result is a countdown from 5 to 0 using alert messages. But for some reason it alerts only -1, why is that and how can I fix this …

Member Avatar for ashu2401
0
127
Member Avatar for robert_b

Hello All, I'm having a serious problem with AJAX in my web application that has our entire development team banging their head against the keyboard. (Unfortunately, all that banging hasn't yielded a good answer, so I'm hoping one of the experts here have a possible solution!) The core question is …

Member Avatar for Airshow
0
113
Member Avatar for pietpiraat

Hello all, i'm trying to show the time between a start & end time selection, problem is, i do not know my way around javascript/jquery that good, so i hoop someone will help me. i have four dropdown select boxes: [LIST] [*]start hour [*]start minute [*]end hour [*]end minute [/LIST] …

Member Avatar for Airshow
0
2K
Member Avatar for oscar_10002

I'm Trying to put a banner that rotates 3 images on a bigcommerce.com platform which is in HTML and banner in Java - can anyone see why isn't working? Thanks for the help ! [CODE]<div class="Block FeaturedProducts Moveable Panel" id="HomeFeaturedProducts" style="display:%%GLOBAL_HideHomeFeaturedProductsPanel%%""> <h2" dirty="false">%%SNIPPET_HomeFeaturedProductsFeed%%%%LNG_FeaturedProducts%%</h2" dirty="false"> <div class="BlockContent""> <script language="javascript""> // SPECIFY …

Member Avatar for Graphix
0
138
Member Avatar for samurai_alexis

I'm working on a project which implements google Maps. Now I have to choose between GWT or JavaScript as a programming platform. I'm wondering which is faster when accessing the data to be used to initialise the maps from a remote server? Any ideas?

Member Avatar for anony
0
101
Member Avatar for Virangya

Hi... I have a list of products displayed in a page and it contains a combo box to sort the products in a certain criteria. I want to sort the products just when I choose the criteria from the combo box. I understood I have to do this using onChange …

Member Avatar for almostbob
0
82

The End.