15,127 Topics

Member Avatar for
Member Avatar for jmorhous

Greetings, On reflection I have decided I was unclear in my last post so I thought I should have another go at it. I have written an external script, located in validateform.js, that validates the information on a form. I have a second external script, date.js, that validated dates. I …

Member Avatar for almostbob
0
96
Member Avatar for jrw89

I have the following in "home.html": [CODE=html]<html> <head> <script type="text/javascript" src="sandbox.js"></script> </head> <body onload="compatibilityCheck();"> <div id="content"> <p>You need to enable JavaScript to use this site</p> </div> .....[/CODE] where "sandbox.js" is: [CODE=javascript]function compatibilityCheck() { var compatibilityCheck = new compatibilityCheck; compatibilityCheck.browser; compatibilityCheck.cookies; } var compatibilityCheck { browser : function() { switch(navigator.appName) { …

Member Avatar for jrw89
0
120
Member Avatar for shridharmaster

Hi friends, I have created the no.of div tags in my website applications. Now i want to change the class name of the tags. How should I? Below is some code which i want to change:- <test.aspx> [CODE] <tr> <td style="width:100%;"> <div class="roundedcornr_box_203203"> <div class="roundedcornr_top_203203"><div></div></div> <div class="roundedcornr_content_203203"> <iframe id="Graphframe" name="Graphframe" …

Member Avatar for GreenDay2001
0
113
Member Avatar for Phil++

Hey I'm trying to display this: [code] echo "<a href="javascript:createBBtag('[bold]','[/bold]','txtA')"><strong>B</strong></a>"; [/code] It gives errors though! Is there a way around it? Thanks :)

Member Avatar for goje87
0
26
Member Avatar for SJai

Hi i need the help of how to access the PHP files values from the External JavaScript. I have read we should keep Header("content-type: application/x-javascript"); this line in PHP. I have done everything, if any one can explain this with Example code and please explain how to use the value …

Member Avatar for FlashCreations
0
1K
Member Avatar for beppeilbuono

I would like to print a Web page with javascript method window.print() without pages number and footer. it's possible ?

Member Avatar for jokohu
0
210
Member Avatar for jmorhous

I have an external javascript from which I wish to call a function from another external javascrpt. For the life of me I cannot figure out how to do it. Thanks in advance for the help, Jeff

Member Avatar for SKANK!!!!!
0
66
Member Avatar for vgkarthi

Can any body tell me why my onblur() function is not working in javascript. Code is pretty simple. Its a text box with an onblur() function showing an alert. I have used it long back.. But i could not figure out why its not working now.. I dont know what …

Member Avatar for SKANK!!!!!
0
4K
Member Avatar for shridharmaster

Hello friends, I have been designed the web application using different themes. I have applied the themes successfully. But the problem is that while giving class name to the div tag for the rounded corner to the box with their images is not working properly. Below is my snippet :- …

Member Avatar for Airshow
0
88
Member Avatar for jagadeshms

Dear All Experts I wrote a simple code in javascript and it is working fine with IE and Firefox but the out put in php array count is correct in IE but not correct in Firefox Please check the code attached here. <script language="javascript"> var arrdimensions = { "codimesion":{"s":{'0':'dimesion1','1':'dimesion2','2':'dimesion3','3':'dimesion4','4':'dimesion5','5':'dimesion6','6':'dimesion7'},"c":1,"m":"50", "sc":1, …

Member Avatar for Airshow
0
134
Member Avatar for thetodaisies

Hi, I have an aspx textbox control in my webpage its value is being assigned from javascript. Now once the value is assigned from javascript it returns empty string when tried Textbox.text from c# codebehind on submit. here is the definition of the textbox <asp:TextBox ID="TxtTags" CssClass="TextBoxStyle" runat="server" ReadOnly ="true" …

Member Avatar for thetodaisies
0
58
Member Avatar for jreddick82

I am building a rotating page. For URLs. The problem is that the page does not reload a different URL when you refresh the page, and I want it to load a different URL when someone enters the site. I have tried different coding and nothing seems to work. Here …

Member Avatar for hielo
0
159
Member Avatar for gpmmuthu

Hi all, Suppose, i access the website(Main window), the site will load. Meantime,i want to open a new window (Child window -like a pop up) on the top of the main window. Now,the browser focus on the child window.In the mean time the main window will disable. Please find below …

Member Avatar for gpmmuthu
-2
78
Member Avatar for umut78

I made a code snippet that displays different content based on the browser but, it returns an error and not work. What's wrong here? [code=HTML] <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Language" content="en" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Adsız 1</title> </head> <body style="font-family:Verdana;"> <script type="text/javascript"> [/code] [code=Javascript] if (navigator.appName == …

Member Avatar for ShawnCplus
0
61
Member Avatar for jino

Hi all, I need to select all the divs having the classname starting as msg_body. actually the classname is msg_body_3. The last part of the class name of each div will vary as it is an id. How can i slideup all these divs, class name starting with msg_body using …

Member Avatar for ShawnCplus
0
152
Member Avatar for the_programmer

Hey, I know that Javascript can disable keys on the keyboard and even the right mouse click. What I want to know is, is it internationally legal for a Website to render commands on the keyboard and or mouse useless while using a Website. I'd really appreciate any feedback and …

Member Avatar for JugglerDrummer
0
95
Member Avatar for ytregnn

I don't know if this is the right forum for this question .. I have a script that is written in PHP and in the middle of this: [CODE]<a href=\"#main\" onclick=\"form_visible();\">Click</a>[/CODE] This is supposed to make a form show by a click on the link [I]"Click"[/I]. What I want to …

Member Avatar for parry_kulk
0
55
Member Avatar for kelvin33

[CODE]/*helo every one, I am just a newbie in javascript, but can any one help me with the second function?*/ <html> <head><title>survey2</title> <script type="text/javascript"> var Item = new Array(); Item[100] = 15; Item[101] = 10; Item[102] = 5; Item[103] = 0; function show_it() { var total = 0; var Details …

Member Avatar for Airshow
0
279
Member Avatar for pavithraCS

Hi, Im developing a firefox exrtention which can get weather alerts from various rss feeds and display them in a popup panel. So, I need to know [B]how rss reader know that rss feed has updated[/B]? Do I have to check it using a timer? thanx in advance!

Member Avatar for Airshow
0
80
Member Avatar for jino

Hi everybody, In my project i am using ajax and jquery. After going to a page via ajax without page reload i want to see the same page if the user refresh the browser. I used the cookie plugin inorder to solve. As it is not safe i am trying …

Member Avatar for hielo
0
742
Member Avatar for ytregnn

Hi, I was looking for a poll script (php/ajax) that does not reload when adding a vote. I've tried to search around for it but haven't found one that suits my needs. Anyone that knows where I can find such a script? Thanks, Robin

Member Avatar for SKANK!!!!!
0
162
Member Avatar for tunde011

please open [url]http://www.sharewink.com/[/url] in mozilla and IE search for share Please what am i doing wrong?

Member Avatar for tunde011
0
80
Member Avatar for handyman_uk

i am currently using the meta tag for page transition i would like to use a cross browser script does anyone know of a script to circle out on page exit that is cross brower compatable a little sheepish shorn

Member Avatar for handyman_uk
0
73
Member Avatar for thebluestar

[CODE] <html> <head> <script type="text/javascript"> function check() { var val = document.myForm.content.value; if (val.length <= 10) { document.getElementById('numC').value = val.length; //out.value = val.length; } else document.write("Please enter the text in range of 10 characters!"); return false; } </script> </head> <body> <form name="myForm"> Type something here: <input type"textbox" value="" name="content" onchange …

Member Avatar for almostbob
0
122
Member Avatar for PetrQ

Hello all, please help! I need use two jquery scripts - dynamic select box and clone row. Each of them work fine but I cannot find the way to use it together in one script. Thank you for any suggestion! Petr live demo: [URL="http://www.guitarcases.cz/index.php?clanek=zakaznik_objednavkawww"]http://www.guitarcases.cz/index.php?clanek=zakaznik_objednavkawww[/URL] [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML …

0
97
Member Avatar for thebluestar

[code] <html> <head> <title>Nhung rac roi ko hieu</title> <script type="text/javascript"> function getvalue(list) { while(list.options.length) list.options[list.selectedIndex].value=null; var value = list.options[list.selectedIndex].value; document.write(value); document.bgColor = value; } </script> </head> <body bgColor="lavender"> Here is the list for you to Change the bgColor! <br/> <select name="list1" onchange="getvalue(this)"> <option value="green">Green</option> <option value="orange">Orange</option> <option value="yellow">Yellow</option> <option value="pink">Pink</option> …

Member Avatar for thebluestar
0
4K
Member Avatar for jpadams

I am new to AJAX and I am trying to create a script that will change content of a div. My scenario I am using is an index page with the list.php script included in the div I want content changed in. The list.php script will pull 8 newest titles …

Member Avatar for SKANK!!!!!
0
126
Member Avatar for crazyhorse09

Hey, I think this is the right place, but not sure. I wanna make a firefox extension, and wanted to know if JavaScript is what I should be learning, or something else?

Member Avatar for JugglerDrummer
0
100
Member Avatar for thebluestar

[CODE] <html> <head> <title>Web just for training</title> <script type="text/javascrip"> function chBG(kolor) { document.getElementById('ab').style.background = kolor; } </script> </head> <body id="ab"> <input type="button" name="b3" value="green" onclick="chBG(this.value)"><br/><br/> <input type="button" name="b4" value="blue" onclick="chBG(this.value)"> </body> </html> [/CODE] Here is my code to change the background color but I does not work!I don't know why, …

Member Avatar for Graphix
0
91
Member Avatar for ryan1987

hi i want to do validation on two textboxes on my website i am creating. i want to make sure something is entered in each box before the user can proceed. the two textboxes are called teammanager and teamname and are in the form called addteam. the code i have …

Member Avatar for Graphix
-1
79

The End.