17,114 Topics

Member Avatar for
Member Avatar for lambing

var FS = window.FS || {}; FS.Search = FS.Search || {}; FS.Search.UI = function() { undefined; //yui libs var Event = YAHOO.util.Event; var Dom = YAHOO.util.Dom; var defaultSearchValue = 'Search'; return { searchBox: 'textSearchBox', init: function() { var textSearchBox = Dom.get(this.searchBox); if (textSearchBox !== null) { Event.on(textSearchBox, 'focus', this.onFocus, this, …

0
63
Member Avatar for Znos

I want to make a sms system, where users can send a sms message and then it is showed. So for every new message I get I need to make a new div, add it and scroll the others down Does anyone know a good example or tutorial to get …

Member Avatar for fxm
0
186
Member Avatar for mgranger96

I have a need to close a popup window after a certain amount of time. I have tried many different ways to do it with no luck in IE. Works fine in Firefox, Safari, and Google Chrome. It seems to be a problem with IE referencing the window I have …

Member Avatar for fxm
0
845
Member Avatar for DrewL

Help! I am hoping this is some sort of typo on my part, but I cannot figure out how the s3slide show I set up turned out the way it did. I got the code from the following site: [url]http://www.serie3.info/s3slider/demonstration.html[/url]. This shows an example of what it should look like. …

Member Avatar for renzo821
0
100
Member Avatar for fraenckel

This should be really easy, but I'm a novice at webapps.... I have a simple drop down list in my JSP which I created using <select> and <options>. I've got a javascript function in which I would like to get the selected value and proceed to do other stuff with …

Member Avatar for fraenckel
0
173
Member Avatar for majid091

Hello every one. I am developing an application using AJAX and CSS. I have a webpage in which i have some hyperlinks. I want that when ever some one move the cursor on some link, than mini preview should be loaded before clicking. I have done that but problem is …

Member Avatar for scrappedcola
0
83
Member Avatar for nizuya

Ideally my goal is to have a multi-dimensioned associative array. However it is my understanding that javascript doesn't really do associative arrays. The data I want to store is a list of 4 digit codes associated with building names. Each building may have a different number of codes. I would …

Member Avatar for nizuya
0
96
Member Avatar for tsharma14

I am opening a word document created via FOP on click of a button in JSP page. My page is working fine for every browser except IE6. I have searched on net, and MS Site also. window.open is having problem with IE6. So can you people help me. HOW CAN …

Member Avatar for Taywin
0
137
Member Avatar for Staccs

I'm having trouble with a Javascript pop up box not appearing on Internet Explorer. I have tested it with IE7 and IE8 with no success. It works on Firefox 3.6.3 and Opera. On internet explorer this yellow bar appears; [IMG]http://i46.tinypic.com/282fhqr.png[/IMG] However, once clicked and given temporary permission the page reloads …

Member Avatar for Taywin
-2
180
Member Avatar for seanooi

Does anyone know how to do the input focus fade in and fade outs that is seen at Apple's mobile me website at [url]http://www.me.com[/url]? I would love to implement it in my own login box.

Member Avatar for Taywin
0
87
Member Avatar for Knb1

Hi everyone, I need help with nesting Javascript code, please! I have two webpages, one is a plain html file (plain.htm) and the other (index.htm) has a DIV that plain.htm loads within when a user clicks a hyperlink. This is done with inline JS, and it works fine. I also …

Member Avatar for Taywin
0
52
Member Avatar for sammeras

Hi Jquery Guros, I develop registeration form (in arabic). I added "validator.addMethod" to check the firstname text. I want to check that the "firstname" text must be in INGLISH leters OR Numbers(means, user can't insert arabic leters or anything else). [B]I added the script:[/B] ///////// chack firstname (English leter OR …

Member Avatar for fxm
0
535
Member Avatar for nlanka

[code]<html> <body> Enter your firstname <input type="text" fname="submit"> Enter your lastname <input type="text" lname="submit"> <html> <head> <script type="text/javascript"> if(submit(lname==null)) { alert(" be careful"); } </script> </head> <input type="submit" onclick="submit()" value="Submit" style="color:white; background-color:red;"> [/code] i need help with writing if loop for submit button an alert message that show we forgot …

Member Avatar for Taywin
0
104
Member Avatar for zeroge

Hi... Any idea on how to embed this flash so it will stay behind other content, e.g. a lightbox? [CODE]<td align="left" id="container" valign="middle" z-index="0"><!-- see notes for files included --> <a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player to see this rotator.</a> <script type="text/javascript" src="my/path/to/file.js"></script> <object><script type="text/javascript"> var s1 = new SWFObject("my/path/to/flash.swf","rotator","415","120","7"); s1.addParam("allowfullscreen","false"); …

Member Avatar for rajarajan2017
0
78
Member Avatar for nandoo

hi Foo, Just read the code and give me a solution.My question will be after the code... <html> <head> <title> working with jscript</title> <script> function appendtable() { var parent = document.getElementById("divide"); div = document.createElement("div"); var tbl=div.appendChild(document.createElement("table")); var tb=tbl.appendChild(document.createElement("tbody")); var tr=tb.appendChild(document.createElement("tr")); var td=tr.appendChild(document.createElement("td")); parent.appendChild(div); var oSelect=document.createElement("select"); var oOption = document.createElement("option"); var …

Member Avatar for zaggaustralia
0
212
Member Avatar for renzo821

I've been wanted to get this calendar to show data from a HTML dataset just like on this example.. [URL="http://tv.adobe.com/watch/inside-the-dreamlabs/dreamweaver-cs4-javascript/"]http://tv.adobe.com/watch/inside-the-dreamlabs/dreamweaver-cs4-javascript/[/URL] but i havent been succesfull. Does anybody know what can i do? I think my major problem is when im trying to declare the variables on the event handler. I …

0
48
Member Avatar for zaxonus

Hello, I have the following problem with Ajax : - The files I will mention here are copied at the end of this mail, so anyone can look if necessary. - My intention is to bring the contents of SubOne.php into the area defined by the DIV tag named "MyDiv" …

Member Avatar for zaxonus
0
282
Member Avatar for ahsanpervaiz

I dont know what happened my jquery menus are not working at all.......particularly the hover opacity effect is not working.....it was working 2 days ago i dont know what have i messed with.......here is the full page code.......[CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="Content-Type" content="text/html; …

0
97
Member Avatar for beanryu

I know, this is really a noob question and I don't really know what went wrong. The code is very simple. I have a web page that contains the following: [CODE] <div id="mydiv"> <p>first</p> </div> [/CODE] The <p> tags are created by the following js code: [CODE] paragraph = document.createElement("p"); …

Member Avatar for Ezzaral
0
5K
Member Avatar for anishp83

function ShowAvailability() { $.ajax({ type: "POST", url: "CS.aspx/CheckUserName", data: '{userName: "' + $("#<%=txtUserName.ClientID%>")[0].value + '",userName1: "' + $("#<%=TextBox1.ClientID%>")[0].value + '" }', contentType: "application/json; charset=utf-8", dataType: "json", success: OnSuccess, failure: function(response) { alert(response); } }); }

Member Avatar for scrappedcola
0
87
Member Avatar for theheretic1984

[CODE]var myarray=new Array(4) for (i=3; i <7; i++) myarray[i]=new Array(8); for (i=3;i<7;i++) { for (j=1;j<9;j++) { if (document.getElementById('mytable').rows[i].cells[j]!=null) { myarray[i][j]=document.getElementsById('mytable').rows[i].cells[j].innerHTML;} else myarray[i][j]=0; } }[/CODE] Here is my code and i want to check if the cell exist and if it is true to take the content of the cell. But …

Member Avatar for theheretic1984
0
319
Member Avatar for renoua

Hi again! I have this javascript code [CODE]function displayResult2(id) { xml=loadXMLDoc("anna.xml"); xsl=loadXMLDoc("c011.xsl"); // code for IE if (window.ActiveXObject) { ex=xml.transformNode(xsl); document.getElementById("right").innerHTML=ex; } // code for Mozilla, Firefox, Opera, etc. else if (document.implementation && document.implementation.createDocument) { var xsltProcessor=new XSLTProcessor(); xsltProcessor.importStylesheet(xsl); resultDocument = xsltProcessor.transformToFragment(xml,document); document.getElementById("right").appendChild(resultDocument); } }[/CODE] and I want to pass …

0
60
Member Avatar for aladar04

Does anyone know how to use a prompt on java applet? I was to create a very simple calculator. Two prompts will appear asking for inputs. Then the sum, product, difference, and quotient will appear on java applet.

Member Avatar for aladar04
0
83
Member Avatar for bboscobb

[url]http://arnotinteractive.com/mayakaimal/httpdocs/recipes_coconutTEST.html[/url] In IE7/Windows the left vertical navbar disappears. I have used every hasLayout trick I know. Can anyone put a finger on it? I'm working with legacy code to complicate matters... Style sheet: [url]http://arnotinteractive.com/mayakaimal/httpdocs/alt_styles.css[/url] Help! I'm swamped! bb

Member Avatar for karameloso
0
95
Member Avatar for renoua

Hello, I have this part of php code... [CODE] <?php $dom = new DomDocument(); $dom->load("anna.xml"); $xp = new domxpath($dom); $unitid = $xp->query("/ead/archdesc/dsc/c01/did/unitid"); foreach ($unitid as $check) { print '<a href="#" onClick="displayResult2(' . $check->textContent . ')">' . $check->textContent . ' </a>'; // I presented the unitid's of a xml file and …

Member Avatar for renoua
0
249
Member Avatar for colon3l

Hi there ! I'm building my first GC extension, and I am having a problem using this function. I would like to get the url of the current tab, and to do so (after some google research, of course), I use the [I]chrome.tabs.getSelected()[/I] function. Here it is in my code …

Member Avatar for colon3l
0
434
Member Avatar for motionxcity77

Hello, I'm a relatively novice at JavaScript and I'm afraid I've ran into a bit of trouble. I need to create a series of dependent dropdown menus that will redirect to a new page based on the selections in the dropdown box. I've found some examples of different dependent dropdown …

Member Avatar for fxm
0
122
Member Avatar for fawad123

I have an array of textboxes each having button on right side which when pressed the text should be displayed on new window using Jquery. For demo, you might have seen jquery lightbox plugin which shows the images in the new window. I want exactly same but instead of images …

Member Avatar for Thirusha
0
103
Member Avatar for balaji153
Member Avatar for pritaeas
0
144
Member Avatar for shubhamjain1

I have a WebPage that needs to pass information to a PHP page. Now the task is easy but the problem is that anyone can see the source and edit the information to be passed but I want only my page to pass the information. How can i achieve this?

Member Avatar for Graphix
0
77
Member Avatar for fosteros

I want to open a particular URL and download a file say ABCD.log every half an hour. (the same file) Is there any way i can automate this process using java script or any other method? Thanks in advance

Member Avatar for chandru7
0
273
Member Avatar for tiddster

I have an HTML form that has fields that allows a database to be searched and the results displayed. When initially displaying the page, all the records of the database appear, as if a search was performed without any query values. Is there any javascript coding that will stop the …

Member Avatar for Graphix
0
56
Member Avatar for gskoli

Dear all , Please help me out, i am using scriptaculous in my script. But it is giving error to me that Effect is not defined . [CODE] <head> <script type="text/javascript" src="/js/prototype.js"></script> <script type="text/javascript" src="/js/scriptaculous.js?load=effects"></script> <script type="text/javascript" src="/js/effects.js"></script> function only_refresh(){ // Some code . var fade_in = setInterval("fade_in()",5000); } function …

Member Avatar for gskoli
0
150
Member Avatar for tejasluvs

Hi, Can we retain multiple checkbox selection upon refresh or using pagination for few hundred records? There is a page where user sees all the items which has search box on the field column to perform searches and select items using checkbox besides those items. While searching the items page …

Member Avatar for tejasluvs
0
129
Member Avatar for Kirtipari
Member Avatar for Kirtipari
0
113
Member Avatar for eswaramoorthy

hi i have developed simple webapplication using JSP and JSF framework Step 1 : I have one login page : (contains username ,password and sumbit button) Step2 : I have one logout page : it has one link ([U]Go to login page[/U]), just u click this link go to login …

Member Avatar for eswaramoorthy
0
265
Member Avatar for tunde011

I have seen some websites that you can "like" a sentence off a website. I have been on facebook developer's page and noticed the meta tags that you need to use but that is for a whole page. Is there a way I can do incorporate a like button to …

Member Avatar for shubhamjain1
0
71
Member Avatar for jrlynch1

Ok, I have 3 external pages I am loading in three locations on the page. So, I have the following in the head: [code]function allfunctions(){ clientSideInclude('center', 'http://127.0.0.1/cgi-bin/blosxom.cgi'); clientSideInclude('right', 'http://127.0.0.1/right.html'); clientSideInclude('left', 'http://127.0.0.1/left.html'); }[/code] Then, I load with: [code]<body onLoad="allfunctions();">[/code] The body contains some tables, and in each they look like: [code]<span …

Member Avatar for kc130
0
112
Member Avatar for Rambomst

I am trying to refresh part of my page using ajax and it works fine in FireFox but when I test it IE I get an error at "document.getElementById('ipb_table_reload').innerHTML = response;" which says "Unknown runtime error" the webpage can be found [url=http://www.trident-gaming.net/forums/index.php?app=ccs&module=pages&section=pages&id=22]here[/url]. I have tried googling this error and everything …

Member Avatar for Rambomst
0
103
Member Avatar for mexabet

I'm having an issue getting two Javascripts to work on one page. It seems that one disables the other and only one is working when previewed together. I know of a code that can be inserted so that both codes can function on one page, but I just can't lay …

Member Avatar for fxm
0
138
Member Avatar for theheretic1984

My code is in the attachment alex.txt. When i press the button for first time it gives me error: 'null' is null or not an object. But when i press it again or refresh the page and press the button it gives me the result that i expect. When i …

Member Avatar for fxm
0
109
Member Avatar for anujmadaan

Hello everyone. I am building a web application having various tables and 4-5option buttons in each table. When user check on one of these option buttons then the option is saved at server. I want whenever user returns the option marked by him earlier should be preloaded. For example if …

Member Avatar for SikoSoft
0
165
Member Avatar for Dartz654

Below is my post script. I'm trying to make it have a flood check (or something to stop people from spamming and crashing my servers) and my solution is to make a message appear saying "You've posted" when they hit the Post button. I tried adding Javascript alerts in multiple …

Member Avatar for SikoSoft
0
150
Member Avatar for sgriffin

Hey everyone, I literally just started to learn Javascript today and started with a function that takes in a string and tells you the number of vowels (a,e,I,o,u) in it. It works, but when I use document.write(vowel("hello")) in my body, instead of just giving an output of "this string has …

Member Avatar for kracko
0
93
Member Avatar for justbboying

Hi, do you know how we can convert java script to html code, or put all the java script in some " " cuz I have java programs and want to put them on my web, so ... I heard that there is a special program which converts html, javascript, …

Member Avatar for takachistar
0
412
Member Avatar for MDanz

e.g. [code]<table><tr><td onclick='ChgText()'>test</td></tr></table>[/code] now "test" are results from mysql. So i want all those results to load before onclick on the column can be enabled. This is because if i press onclick too quickly, the function doesn't capture certain information. any help?

Member Avatar for fxm
0
129
Member Avatar for iamchamith

Hi friends, I have big problem about dialog box... Normally we can use jquery or any javascript method for creating some dialog box.. My question is,Are there any method available in dotnet freamwark what creating some custom dialogbox...If it is please replie mee...Thanks ... :D

Member Avatar for asad_dani
-1
76
Member Avatar for FeralReason

The following code works fine in IE8 and Firefox 3.5. Any idea why it does not work in Chrome ? Tried it both in localhost and on my web server -- no success. In the header: [code = php] <?php if((isset($_COOKIE["unique_id"]))&&isset($_COOKIE["users_resolution"])){ $screen_res = $_COOKIE["users_resolution"]; $unique_id = $_COOKIE["unique_id"]; } else //means …

Member Avatar for fxm
0
205
Member Avatar for mcle

I'm interested in learning how to do this. What I'm doing is I'm making a social networking site linked to a game called Habbo, and for the registration page, once they put in their Habbo Username, I want to be able to load the image next to it. [url]http://www.habbo.com/habbo-imaging/avatarimage?user=[/url][[[[TEXTBOX.DATA]]]]&direction=2&head_direction=2&gesture=sml&size=l&img_format=gif That …

Member Avatar for fxm
0
399
Member Avatar for knight fyre

I'm new to Javascript but not new to programming. I find JS more time consuming because I have to manually search line by line for a single error. In C++ or C the compiler tells me the exact line number of the error or at least what the error is …

Member Avatar for helioptra
0
274

The End.