15,120 Topics

Member Avatar for
Member Avatar for samarudge

Hi, I have this code which is not working [CODE=javascript]<script type="text/javascript" language="javascript"> <!-- function loadpage() { document.getElementById('Loadingindic').style.top = '-500%'; } function checkfields() { if(name()==true){ if(email()==true){ if(message()==true){ return true; } } } return false } function name() { name = document.getElementById('CF_N').value; if ( name.length == 0 ) { alert('Please enter your …

Member Avatar for essential
0
158
Member Avatar for Xessa

Hello . I have a web page and a button on it. From that button i pop-up another page and update the user's information. After updating is done, it focuses to my original page. Not the page that i have been working. Why is this happening? How can i make …

Member Avatar for essential
0
84
Member Avatar for pradeepg459

MY HTML CODE IS GIVEN BELOW: [code=HTML] {foreach from=$heading_array item=hdng key=col_name name=headng_loop} <td width="40px;" id='column{$col_name}' name= {$col_name} sort="" {if $align_view.$col_name.CWDTH neq '0' or $align_view.$col_name.CWDTH neq ''} style="padding-left:3px;word-wrap:break-word;{*$align_view.$col_name.CWDTH*};"{/if} {if $wrapflag neq '' or $wrapflag neq 0}style='vertical-align:top;'{/if}>{if $drag_flg eq 1} <table height=100% cellSpacing=0 cellPadding=0 border=0 style=""> <thead> <tr> <td>{/if}{if $align_view.$col_name.CWDTH eq '0' …

0
74
Member Avatar for rouse

I was looking at the JQuery for absolute beginner instructional video where I was shown how to add and remove an item for an unordered list. The demo assumed that you had one unordered list on a page. I tried to create a demo where there are two unordered list …

Member Avatar for chridam
0
147
Member Avatar for jay.barnes

Hello! I'm having some problems with using data in an PHP form I'm working on that utilizes AJAX. Could be a beginner's mistake, but, then again, it might not be... :) SCENARIO: I have a form with two sets of fields, origin country, city, state, and zip, and destination country, …

Member Avatar for jay.barnes
0
315
Member Avatar for Dio1080

Hello, my task was to make two constructors for the code that I also posted and they are not working. Can somebody help me figure out why they are not working. I posted them right below. here are my constructors for course and Faculty course.js: [code=javascript] function Course (name, times, …

Member Avatar for Dio1080
0
153
Member Avatar for Xessa

I have a textbox. in js code, i try this... if(isNAN(parseInt(form.myTextBox.value))) {alert("not a number");} I'm trying to check if it is a number. Else i want to warn him.... How can i do this in a js file?

Member Avatar for essential
0
133
Member Avatar for asemakula

[CODE]<script type="text/javascript"> var ... ;... Book_Image_Sources=new Array(...); function carousel() {...} </script>[/CODE] I want to (i hope it`s possible) call the script above in a css class like [TEX]#carouse { ... somehow call the script above }[/TEX] then in my html code [CODE]<img src="./images/placeholder.gif" class="carouse" />[/CODE] I am using a WYSIWYG …

Member Avatar for asemakula
0
171
Member Avatar for kavitha284633

on postback neither the ajax slider extender not its bound asp textbox retains the selected value. please help

Member Avatar for kavitha284633
0
61
Member Avatar for Sanit

Hey guys, I have a form made up, and there is an option where the user selects "Male/Female". The way its set up is as follows: [code=JavaScript] var lastLink; function setLink(theLink){ if(lastLink) lastLink.className="genderSelect"; theLink.className="selected"; lastLink=theLink; return false; } [/code] [code=HTML] <ul> <li> <a id="genderMale" onClick="return setLink(this)" class="genderSelect" href="#">Male</a> </li> <li> …

Member Avatar for Sanit
0
118
Member Avatar for urvenkatg

Hi I am doing a chating application.I want to know whether a window is opened or not. This is the code i am using to open a window. [code=JavaScript]var title='Chat_'+userId+"_"+selectedUserId; var url="OneToOneChat.aspx?FromUserId="+userId+"&FromUserName="+userName+"&ToUserId="+selectedUserId+"&ToUserName="+selectedUserName; window.open(url,title,'width=410,height=400,toolbar=no,menubar=no,scrollbars=no,status=yes',false);[/code] later i trying whether the window is already opened or not. [code=JavaScript]var win='Chat_'+userId+"_"+selectedUserId; if(win.closed) { } else …

Member Avatar for ankitjain_dce
0
126
Member Avatar for JohnGroot

Each product page of a catalog will have a url with a product parameter e.g. [url]www.MyWeb.com/LitRequest.htm?Product1[/url] or [url]www.MyWeb.com/LitRequest.asp?Product1[/url] I would want that value 'Product1' to show up on the LitRequest Form and then get transmitted when the form is completed and submitted submitted Thank you

Member Avatar for ankitjain_dce
0
63
Member Avatar for ankitjain_dce

Hi, Can we write javascript in iframe? I want to call a external application javascript in my iframe of the jsp i am writing....issue is we can only have one call of this JS per page,now I am importing some html tags from a 3rd party which also does this …

Member Avatar for ankitjain_dce
0
7K
Member Avatar for nikk

Hello Friends, I am developing a menu using javascript wherein, I expand and collapse divs. It works fine individually; but the problem arises when I try to hide all other divs on expanding one div. Following is the code. Pls. suggest any change if you spot any error or even …

Member Avatar for essential
0
207
Member Avatar for ChrisJ

If you're familiar with Greybox, the pop-up window: [url]http://orangoo.com/labs/GreyBox/[/url] I'd just like to know how I can get it to pop-up not in the center of the page. I'd like it to pop-up on the left side of the page. Is that possible? If so can you help me accomplish …

Member Avatar for peter_budo
0
178
Member Avatar for candidz

i want to implement "http://road.fullspeedahead.com/fly.aspx?taxid=222&layout=product", i need help.....???

Member Avatar for candidz
0
87
Member Avatar for sunilsinha

Hi, I need to resize an image on dragging handlers which are placed in all 8 directions. If any of handlers is dragged inwards, then entire image size should be reduced and if dragged outward, the image size should be increased. In any case, image quality should be preserved. How …

Member Avatar for almostbob
0
114
Member Avatar for Xessa

I submit the form and execute a method in a servlet. I want to inform the user if the execution worked. I'm returning false from the method if it did not executed. Else if he was able to do the execution, i want to inform that he did it and …

Member Avatar for essential
0
106
Member Avatar for danihunt

Can someone please give me a website for a [U]external[/U] search engine for your website, or give me a HTML code or CSS code?

Member Avatar for almostbob
0
44
Member Avatar for sw41

I have a list of 400+ names I am getting from a mysql database. They are listed out in a table. I would like to have a text box where once you start typing, the string highlights below, the more I type the less matches come about ([COLOR="Red"]will[/COLOR] and [COLOR="Red"]will[/COLOR]iam …

Member Avatar for infamousjre
0
1K
Member Avatar for lavipc

Hi Everybody . .:) I am a new member and I am looking for somebody who can help me... I'm building a new website (HTML) and customers all over Orange County will be my target. I'm looking for a code who'll shows all the cities in Orange County, that looks …

Member Avatar for aashishn86
0
144
Member Avatar for Potato.Head

Hi to all, I'm sorry to bother you again,but I have the following problem, I have the following DIV, that I need to position in the center of the page, I have the following code, but you can see the div is not exactly center, space I have from the …

Member Avatar for essential
0
125
Member Avatar for MJ Pieterse

I have a Java file with sub menu’s that links (via include) to my Master Page. everything works fine, except that the menu is not linking correctly. I have used relative links, but obviously the master page inherits each page and the links are not created to link via all. …

Member Avatar for MJ Pieterse
0
224
Member Avatar for realnsleo

hi everyone. i am having trouble with validating an input field where someone is supposed to enter their full name. i got this validation from the internet but it does not allow spaces between words. please help me correct it and explain to me what was wrong. Thanks a bunch. …

Member Avatar for essential
0
84
Member Avatar for Dex09

Just a simple question, this has always bugged me. I always wondered why JS includes and code were split into separate script tags. jQuery, Analytics, and others do this: [code=javascript] <script src="/js/scriptname.js" type="text/javascript"></script> <script type="text/javascript"> //code here </script> [/code] Why use multiple tags? Why not: [code=javascript] <script src="/js/scriptname.js" type="text/javascript"> //code …

Member Avatar for Airshow
0
216
Member Avatar for Enrico!

hi, I'm trying to load cell values from a table, to a form in Javascript.... I can caught the cell values but I can't load them to a form.... this is how I caught the cell values: [code=html]<td id='cellText' >writing the text </td> <script> alert(document.getElementById('cellText').innerHTML); </script>[/code] Thank everyone.....

Member Avatar for Enrico!
0
193
Member Avatar for Potato.Head

Hi to all, I have the following problem, I have a div that includes a pictures and texts, if you put the following code in a html, and see the result, you can notice that in IE the text is displayed inside the DIV, in Firefox you can see the …

Member Avatar for Potato.Head
0
104
Member Avatar for BinodSuman

I was searching a solution to get height and widht of an image using javascript. I got many but all those solution only worked when image present in browser cache. Finally I got one solution to get image height and width even image does not exist in browser cache. Just …

0
54
Member Avatar for sunilsinha

Hi, In Firefox, div is not fitting to its text contents. There is requirement that on selection of fontsize from dropdown, div contents font size changes accordingly. Font Size DropDown values ranges from 5-95. When contents font size is increased, text contents are overflowing. To solve this, i defined div …

Member Avatar for Airshow
0
156
Member Avatar for neclark2

Hi, I've got a webpage that hides divs using the off left method whereby hidden divs float 4000 pixels to the left of the screen, instead of actually being hidden. I was unable to take the approach of using display:none because this page has embedded google maps within the hidden …

Member Avatar for neclark2
0
113

The End.