15,699 Topics

Member Avatar for
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
91
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
137
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
60
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
162
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
82
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
63
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
154
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
97
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
57
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
295
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
84
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
746
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
166
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
75
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
125
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
100
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
128
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
102
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
92
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
81
Member Avatar for Philip435

Hey im building a site and i need to learn a bit more about security, ajax, php everything. I know basic stuff but I havent read anything about it so plz share some links or experience plz ! For example am I going to use a ajaxlogin, anything I really …

Member Avatar for jreddick82
0
78
Member Avatar for JRM

hello, I am S L O W L Y working through learning/writing a JS project. here is the core issue.: [CODE] var pt =<? echo json_encode($prt);?> alert(pt) // for diagnostic purposes [/CODE] json is flattening the PHP array to be used in the script. However, the alert shows me that …

Member Avatar for ShawnCplus
0
188
Member Avatar for freelancelote

Hi, I'm starting playing with javascript and bounce to some problems. The script tries to read the <p> background color that is set using stylesheet and set a global variable with this value for later use. It seems that the variable does not instantiate (and btw. there is more than …

0
63
Member Avatar for Daniel_Crouse

Hey there I was wandering if somebody chould help me becuase I would like to know how to change a forms action when you click on a button ? Or... How to load a new form in the same webpage when you click on a button? I have managed to …

Member Avatar for Daniel_Crouse
0
89
Member Avatar for itisnot_me

is it possible to have php code within jquery or do i have to use ajax to grab the values. ex of what i was trying [CODE] function blah() { //Creates the name tag $("#newitem").append("<tr><td><fieldset><legend><select name='produce'><option>--Select--</option><?=produce();?> </select></legend><table width='200'><tr><td>Ammount</td><td>On Hand</td><td>Cost</td></tr><tr id='txtHint'></tr>"); } [/CODE] as you can see that i have a …

Member Avatar for itisnot_me
0
73
Member Avatar for handyman_uk

Hi everyone i am looking for some help with a little java script i am no programmer so i need alot of help i have a marquee tag on my page that slides in some text from right to left once and the stops and remains on the screen have …

Member Avatar for handyman_uk
0
121
Member Avatar for E-AN

I need to validate two forms containing multiple input fields but want just one error message if any of the fields are left blank, the page is required to submit the users details (registration form). Also if any of these fields are left blank i don't want to be able …

Member Avatar for Graphix
-1
116
Member Avatar for imclumsy

Hi I am new to javascript and I am trying to get rid of an object expected error. Here is the line I'm getting an error at [code] <td></td><td></td><td align="center">To print this quote click <a href="/broker/OfferSummary.asp?QuoteKey=<%=vQuoteKey%>" target="blank" onChange="enablePRINT()" checked = "checked"> HERE.</a></td> [/code] here is the function enablePRINT() [code] function …

Member Avatar for imclumsy
0
115
Member Avatar for amitverma

i am using the following JQuery function to successfully POST data to the user_submit.php file, its just that the php file is unable to receive the data. [CODE] $(function() { $("#submit_js").click(function() { $.post("user_submit.php", { comment: $("#comment").val() }); }); });[/CODE] upon finishing the Firebug consoloe shows this: [CODE]<html> <body> Your vote …

Member Avatar for furutani
0
211
Member Avatar for veledrom

Hi, Why this code doesn't work? All I want to do is removing all the white spaces. JavaScript [code] function validateForm(){ var postcode1 = (document.form1.textPostcode1.value).replace(/^\s*|\s*$/g, ""); if (postcode1 == "") { alert ("ERROR"); } else { alert ("CORRECT"); } } [/code] HTML [code] <form name="form1" action="save.php" method="POST" onSubmit="return validateForm()"> POSTCODE: …

Member Avatar for veledrom
0
76
Member Avatar for Arianna

Hey. :D I've written a page which uses Ajax to let a user type in HTML on one side, and have the html be shown completely on the other side. It works well - that is, until the user wants to use CSS styles in the head. As it is …

0
72
Member Avatar for GReddy4u

If a mod comes across this thread feel free to delete it, I've re-posted it in the html forum since it has more to do with html, although it does deal with js as well. joshsonunionsquare dot com/index1.php I just added a 3rd button on the main section titled 'Photos' …

0
80
Member Avatar for sanm

Hi I am trying multiple related selects using coldfusion and javascript. I have four dropdown list first one is related to the second one and thrid one is related to the first one. It is working as per expected if i have two drop down lists which are related to …

0
100
Member Avatar for lydia21

hi i want to pass variable from php to javascript.i want to pass my group[name please tell me.the current code is not working [CODE]<? session_start(); require_once('common/dblayer.php'); $db=new dblayer(); $id=$employer_id; $empid=$db->getgroupname($id); $groupname=$empid[0]["group1"]; echo $groupname; ?>[/CODE] javascript code [CODE] //Contents for menu 1 var menu1=new Array() menu1[0]='<a href="employercp.php">Job Portal</a>' menu1[1]='<a href="cggroup.php?id=<? echo …

Member Avatar for mehrab
0
281
Member Avatar for hajjo

Hello, when the page is being opened I want loading.gif image to appear. Then when loading is over and page is opened I want that image removed from the page ( loading image) anyone got sample code?

0
54
Member Avatar for avirag

I have an application in which reads the system date and if I increase the system date by 1year ,then the application expires and stops working....... I have a javascript file in which functions for this expiration period..... Kindly tell me how can I modify this code so that no …

Member Avatar for avirag
0
161
Member Avatar for boot-baby-boot

Hello,i have a question.I am designing a web application and here is a screenshot in png.[url]http://twitpic.com/uc9ha[/url] My question is,i want the email and password form fields to bie as big as i have indicated.What css do i need to have to make them to be of that size?. Thank you.

Member Avatar for JRM
0
71
Member Avatar for thebluestar

[CODE] <html> <head> </head> <body> <script type="text/javascript"> var arr = new Array(); var sortedARR = new Array(); // FORM to input the number of names document.write("<form name=\"TEN\" method=\"\" action=\"\">"); document.write(" Please enter the numbers of names u want to input:<input type=\"text\" name=\"NoName\"> "); var No = document.TEN.NoName.value; var N; N …

Member Avatar for thebluestar
0
119
Member Avatar for chaines51

Ok, so I have a very basic (low footprint) logging system. However, one thing I cannot figure out is, if I write a log to [icode]fatal()[/icode], then I want the script to quit executing, period. Is there anyway to do this?

0
59
Member Avatar for apollokid

Hi All, I have a question about generating results in fields automatically without submitting or onclick onblur etc.. Just the result would generate and show as soon as I start filling in fields. example I would like to fill out my size qty and have the result show in field …

Member Avatar for almostbob
0
65
Member Avatar for fuchsia555
Member Avatar for oneat

Does ajax support pages on pulpit for example ?? I mean without server. Read from HDD ?

0
70
Member Avatar for shahid007041

Hello, I want something which should not execute block of code of javascript. when any control fires postback. Please reply. Thanks.

Member Avatar for shahid007041
0
69
Member Avatar for solway

Hi guys First time posting here. Have been enjoying all the resources available to us, very helpful. My problem: Recently started learning css / java - i have a web page with an iframe on the index pages within a div tag, which then loads all other pages into this …

Member Avatar for Gianni^^
0
285
Member Avatar for johny321

I want to work in jSP & have no idea. can any one guide me or suggest me how to start or share with with me its free tutorial & online video lectures as well. Second thing what i need to install on my Pc to run a java Script …

0
69
Member Avatar for Peran

Anyone here using Visual Studio 2008 to edit Javascript files? Wheneven I try to edit a .JS file (regardless of whether I've created it inside VS2008 or imported it), I get the tab with the file name, but the content doesn't update. I just see the contents of the previous …

Member Avatar for Peran
0
142
Member Avatar for lifeworks

Hi Ive been using some httpRequests but have gotten tired of writing the 'preparation code' for every request... so I thought I'd make a function that accepted a URL, and a list of parameters and would return the responseText variable... But what seems to happen is that my other code …

Member Avatar for lifeworks
0
81

The End.