15,116 Topics

Member Avatar for
Member Avatar for Roebuc

Hello All, I am very new to YUI, as in tonight I used it for the first time. I have been reading some great tutorials and I was able to write my first small app with it. In my test app, there is one thing I dont understand but it …

Member Avatar for Roebuc
0
154
Member Avatar for awestove
0
64
Member Avatar for ivan3510

Hi! Sory for my bad english! How to make (simply, font color,size,bold,italic,underline,url,and image,undo,redo) tiny editor? Is there any website with tutorial? Thanks!

Member Avatar for ivan3510
0
192
Member Avatar for aizel

first of all happy 10/10/10 :twisted: btw i post my problem on my wordpress site here in javascript thread because i'm having a problem a problem on javascript script.. i am hoping you can help me with my problem the images can't read or open from the image folder. here …

Member Avatar for Airshow
0
289
Member Avatar for eagled2

First off i'm not quite sure where this post belongs on the forum so I apologize in advance if it's in the wrong place. I have a form in one file that I would like to be processed by another file. The form has a single drop down menu which …

0
74
Member Avatar for cluelessguy

Hi, I'm very new to Javascript and AJAX so I'm using a script that I found, and I need it to send a PHP variable from the global variable (in the address bar where it says &post=94 for example) along with the other data that the script sends to a …

Member Avatar for prerna21
0
340
Member Avatar for azegurb

Hi there i have one question about selecting chekboxes. i have script form that adds dynamic rows and cheks/uncheks checkboxes. by default this form has one chekboxe. this function checks/uncehks only when i entered one row at least. when i dont enter any row it doesnt checks any checkboxes. who …

Member Avatar for azegurb
0
220
Member Avatar for sandipan.rcciit

hello frnds, I have a code snippet where auto suggest dropdown will come in basis of text box value entered by the user. [CODE] <?php $response=""; $i=0; $con=mysql_connect("localhost","root","root"); mysql_select_db("autosuggest",$con)or die(mysql_error()); print "<script>var [COLOR="Red"]jarray[/COLOR] = Array();</script>"; $q=mysql_query("select * from suggestion"); $n=mysql_num_rows($q); while($r=mysql_fetch_array($q)) { $response=$r['suggest']; print "<script> j[COLOR="Red"]array[/COLOR][".$i."]='".$response."'</script>"; $i++; } ?>[/CODE] this …

0
75
Member Avatar for eagled2

I am working on sprucing up a site i've been working on with some ajax menus. I decided to use a tabbed menu for this site. I found a script that seems to fit what I want and am trying to integrate it into my php site. The script is …

Member Avatar for eagled2
0
140
Member Avatar for ruwanaru

I want to Create a row as the same as above [CODE]<HTML> <HEAD> <TITLE> TESTING</TITLE> </HEAD> <BODY> <INPUT type="button" value="Add Row"/> <TABLE id="dataTable" width="350px" border="1"> <tr bgcolor="#0099FF"> <th width="88" bgcolor="#66CCFF" scope="col">Code</th> <th width="289" bgcolor="#66CCFF" scope="col">Product</th> <th width="35" bgcolor="#66CCFF" scope="col">Qty</th> <th width="144" bgcolor="#66CCFF" scope="col">Rate</th> <th width="146" bgcolor="#66CCFF" scope="col">Value</th> </tr> <!----- Same …

Member Avatar for Protuberance
0
120
Member Avatar for JamesLogan

Hi I am an ASP.NET developer. I dont know how to use the jquery in ASP.NET. I am using JavaScript and Ajax. But i any one please tell me, what is difference between JavaScript and Jqurey and how i can use it in .NET environment. Thanks James

Member Avatar for kalpanakovuru
0
177
Member Avatar for buggsword

I need to be able to dynamically assign a variable to the height attribute of a div(flashOverlay) based on the height and t position of another div(pageContent). I am using the following script to capture the variable data. How do I apply this var to the div? <script type="text/javascript"> <!-- …

Member Avatar for Ashriya
0
203
Member Avatar for Ankur_tces

Dear all, I m using a div to show menus on master page . Div contains the html table whcih has 2 rows showing the main(Parent) menus(Master,Reports). Each row contains html table with 4 or more rows(tr) which shows their respective sub-menu. Onmousehover of image I m showing the div. …

Member Avatar for Ankur_tces
0
109
Member Avatar for kkjava

Hi All, I have a nested dropdown, using optgroup tag in html. but the problem here is we cannot select optiongroup label. my requirement is when i select the label in the dropdown box i have to display dynamic database values same as other option values. so is there any …

0
55
Member Avatar for lovepong

How can i write JS function to catch up Reload Button (on browser) then i pressed on. etc. -> and back button too. Thank you.

Member Avatar for Airshow
0
178
Member Avatar for eijei

please help.. how can i restart my game , whenever my timer ends . it'll prompt "time expired!".. and then after , when the user clicks OK.. the game will stop .. and the user can no longer continue the game .. PLEASE HELP US : heres my code : …

Member Avatar for Airshow
0
231
Member Avatar for ruwanaru

[B]This is the code that not getting the result[/B] [CODE] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <head> <title>Nice select</title> <script Language="JavaScript"> function checkData() { var myTest = me.D1.value; //alert(myTest); var req = new Request.JSON({ url: 'dbselect.php', method: 'post', data: 'brand=' + encodeURIComponent(myTest) }); req.addEvent('success', function(response) { var …

Member Avatar for hielo
0
154
Member Avatar for GrahamN

Hi Everyone, Could someone please help? I'm rewriting our website at present, and am quite ok with HTML and CSS, but am not particularly au fait with Javascript. Here's the page I'm having a bit of trouble with: [URL="http://www.ambersupplies.co.uk/thomas/miscellaneous.htm"]http://www.ambersupplies.co.uk/thomas/miscellaneous.htm[/URL] If you look at the long button marked 'Diagnostics', you'll see …

Member Avatar for fobos
0
135
Member Avatar for Smudly

How can I call a PHP Function inside a Javascript Function? This is what I have so far, but I don't think I'm doing it the right way. Any suggestions? [code=php]<?php function phpQuery(){ $query = mysql_query("INSERT INTO mytable VALUES('','name','email')"); } ?> <script type="text/javascript"> function delayQueries() { timeoutID = window.setTimeout(doQueries, 2000); …

Member Avatar for Smudly
0
4K
Member Avatar for jecris
Member Avatar for sapiputih

Hi All, For perhaps perverse and masochistic reasons, I have been trying the embed the Javascript V3 maps API call within a joomla article. Please see the unsuccessful attempt by viewing source at [url]http://www.hellokitties.org/index.php?option=com_content&view=category&layout=blog&id=2&Itemid=3[/url] There must be some javascript timing/interaction that I do not under stand?? Any help would be …

0
41
Member Avatar for AboJaD

Hello, i have eleven drop down lists, one of them is main, and from the ten other lists only one should be visible. What i am doing is when i choose one option from the main select box, one of the ten other boxes becomes visible depending on which i …

Member Avatar for Airshow
0
160
Member Avatar for azegurb

hi there i have a problem with scrolling swf banner. for ex: i have 3 banners (banner1.swf, banner2.swf, banner3.swf) and i would like after one finishes let it swicthes to another one sourse. Thanks in advance for attention

Member Avatar for dennishall
0
66
Member Avatar for niths

hi all, i am having problem with javascript validation..My problem is i am having two radio buttons 1.Single 2.Married By default single is checked.Now when we select married i will get displayed spouse name below.Now if the person check married and didnt enter spouse name then i should get an …

Member Avatar for paulrajj
0
157
Member Avatar for cinek

I'm alowing a user to save their "configuration" from a form to the database> I also want the user to be able to load that configuration back onto the form from the database. Now tbh I've got no idea how to do it. I'd like this to be done without …

0
92
Member Avatar for Potato.Head

Hi to all, I get the following problem Opera Browser doesn't fired the Unload Event. I try to found a solution on the Web, but seems that I'm not the only one with this problem, Opera Developers claims that the unload event is not fired when refreshing the page, click …

0
63
Member Avatar for rejishaa

Hi all, While trying to close parent window after loading the child is not working in Firefox but in IE. i am using the following code.. theChild=window.open('two.php','Page2','toolbar=no,status=no,menubar=no,width=400,height=200'); if(navigator.appName=='Microsoft Internet Explorer') { this.focus(); self.opener = this; self.close(); } else window.open('','_parent',''); theChild.close(); } thanks in advance... rejisha

0
39
Member Avatar for luckybutlost

Hi, I am trying to get some xml data using a jquery .post request, but it's not outputting anything. The client-side code looks like this [CODE] <html> <head> <script type="text/javascript" src="jquery-1.4.2.js"></script> <script type="text/javascript"> function cstarter() { window.einterval = setInterval("cst()", 5000); window.big = "hi"; } </script> <script type="text/javascript"> function cst() { …

Member Avatar for Taywin
0
107
Member Avatar for doctorphp

Hi all. I am trying to workout how to show the default value of a text box when you click off it. I have already got the code for the onclick but I would appreciate some help with the offclick. Thanks in advance. Cameron

Member Avatar for Taywin
0
127
Member Avatar for valonesal

We would like to serve javascript from our database. We assumed it would be like serving html but its not working. What we have is a small news ticker and we would like to use a call to our database via php to serve this ticker, so we put the …

Member Avatar for diafol
0
130

The End.