15,127 Topics

Member Avatar for
Member Avatar for sassenach

Hi, My site: [url]http://www.orchot-hagilboa.com/index.php?mid=1[/url] My jquery form is working properly in most areas except where i have an online wysiwyg editor. If you look at the right side of the site, you will see the editor. It creates a textarea form field. When i send the form, the reply_desc (textarea …

Member Avatar for alexhernandez
0
161
Member Avatar for MDanz

i have a top frame with a webpage. i have a bottom frame with the javascript. I'm trying to get the url of the top frame with javascript. the top frame id is link_frame. i'm trying get an alert box with the top frames url. the code i tried isn't …

Member Avatar for LesF
0
88
Member Avatar for Kitten84

I have a web page that contains a bunch of advertisements. What I need to do it randomly shuffle these images each time the page is refreshed. I cannot have any repeating ads. Here is the code I have now.... it repeats images. [code] <html> <head> <script type="text/javascript"> function random() …

Member Avatar for Kitten84
0
2K
Member Avatar for winbach

Greetings. I am using this code for a photo gallery. <script language="JavaScript"> function LoadGallery(pictureName,imageFile,titleCaption,captionText) { if (document.all) { document.getElementById(pictureName).style.filter="blendTrans(duration=1)"; document.getElementById(pictureName).filters.blendTrans.Apply(); } document.getElementById(pictureName).src = imageFile; if (document.all) { document.getElementById(pictureName).filters.blendTrans.Play(); } document.getElementById(titleCaption).innerHTML=captionText; } </script> With an onclick statement like this: <a href="#_self" onclick="LoadGallery('Gallery', 'image.jpg', 'Caption', 'captiontext')">Link</a> It totally works but I would …

Member Avatar for Bubbleboy
0
395
Member Avatar for jasystweb

My page is not displaying correctly in Internet Explorer. Its displays properly in all other browsers. The issue: Internet Explorer When the page is loaded-- Internet Explorer places DIV tags between the the <LI> elements on my page and in other areas of the controls which have been dynamically added …

Member Avatar for Airshow
0
237
Member Avatar for George.Storm

Hey, I'm trying to create a website for a friend, which involves a login system, with registering users, and then booking places on weekends away. I have no knowledge of javascript, but would like to use it for client side updates, I only have a week or 2 left to …

Member Avatar for George.Storm
0
161
Member Avatar for davidcrossan

hi there i need help please to create a ajax drop down list which loads text files in a div tag from the user choice.so if the user selects western adventure it will load up the text file onto the slected div tag without refreshing the page drop down list …

0
50
Member Avatar for albertkao

After clicking the checkbox, I like to get the value of the checkbox submitted. Why the following page always get the value "20" for checkboxChoice and checkboxvalue no matter which checkbox I clicked? Please help. [CODE] <tr> <td> <div class='fg1'> <input type="checkbox" name="checkboxChoice" value="20" checked onclick="submit()"> Choice </div> <input type="hidden" …

Member Avatar for Airshow
0
117
Member Avatar for JavaFrk

Hi All, i want to develop a realtime stock updation chart with js,Ajax,MySQl and Eclipse. Environment with MySQL,JS and tomcat is established. Now how can i start with the use of Ajax into Eclipse and go through dis module is there any source example or code available ? Thank u …

Member Avatar for JavaFrk
0
69
Member Avatar for stockton

I have the following html [code] <html> <head> <title>Voucher Usage</title> <script language="JavaScript" type="text/javascript" src="js/voucher.js"></script> </head> <body onLoad="document.VU.Number.focus()"> <form name="VU" id="VU" method="post" > Voucher Number: <input type="text" size="20" maxlength="20" id="Number" name="Number" onChange='submit_click(this.value)'><br /> <center> <div id="loadingNode"></div> </center> </body> </html> <script language=javascript> function submit_click(VoucherNumber) { if ((VoucherNumber[0] == ";") && (VoucherNumber[strlen(VoucherNumber) -1] …

0
63
Member Avatar for KPooja

Hello all, I am using IE. I have dropdown list with <select><option></option></select> on which i cannot provide custom tooltip on hover, because <option> will not support onmouseover event. so i am now supposed to create one custom dropdownlist [B]not using <select><option></option></select>.[/B] may be using combination of <table> and <textbox> on …

Member Avatar for KPooja
0
157
Member Avatar for umairraja52

I have a website where i use AJAX script and display the output in the Combo Box but i have problem: Combo Box Return values like : 22 23 24 25 (All in one line) But Values should like Combo box values : 22 23 24 25 How i can …

Member Avatar for Renukavani
0
39
Member Avatar for OS_dev

I would like to be able to change the "wrap" attribute for a textarea with javascript. That is unless you can provide a cross browser solution in css2, giving me the ability to just modify the css attributes. Thank you in advance.

Member Avatar for OS_dev
0
255
Member Avatar for SKANK!!!!!

i have a dirctory full og images starting from 1.png to like 55.png not skipping a number. im going to keep adding to the directory in consiquative order. how do i have an image show on a page and then it get clicked on and then it turns to the …

Member Avatar for essential
0
154
Member Avatar for styles_p

well I want to know if javascript works well with asp controls for example: here is simple example: [CODE]<html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <script language="javascript" type="text/javascript"> function exe() { var a = parseInt(document.getElementById("txt").value); var b = parseInt(document.getElementById("txt1").value); document.getElementById("txt2").value = a - b; } </script> </head> <body> <form id="form1" runat="server"> <div> …

Member Avatar for vsmash
0
165
Member Avatar for gunnarflax

I'm having really hard to really grasp everything about the this object in javascript. I've been trying with tutorials but I haven't found a really good one. I mean, if I have a function which executes some code and then in the end I return "this" what exactly do I …

Member Avatar for vsmash
0
347
Member Avatar for emhmk1

Hi everyone, I'm very new to this whole ajax / javascript thing and i have a question regarding the image loader. Basically i want to add the image when the ajax is doing its stuff but i can't figure out where i need to put the code. As a matter …

Member Avatar for vsmash
0
89
Member Avatar for rrocket

I am trying to get a modal popup to display on an onblur event, but I keep getting a "'null' or is null or not an object" js error. I have seen many examples using [code=javascript] var _popup; _popup = $find('MPE'); _popup._show(); //And $find('MPE')._show(); //And $object('MPE')._show() [/code] But none of …

Member Avatar for AFAQ AHMED
0
353
Member Avatar for chetandht

I need help in calculating textbox value from java script for html Example: (textbox1value X textbox2value) + (textbox3value + textbox4value)= result where result value should display in textbox5 Please help me Waiting for your reply

Member Avatar for MyrtleTurtle
0
55
Member Avatar for delbois1651
Member Avatar for iggy248

I have a webpage with 2 images, mtastats.png, and mchammer.gif I want dragging mchammer.gif over mtastats.png (which is already an a href link) to execute the click() function in my code. I have it written out, but must be doing something small wrong. The script is at the top of …

Member Avatar for Airshow
0
146
Member Avatar for MDanz

I have a pop-up div. Basically what i want is when the pop-up div display:visible to cancel any onmouseover events. how do i do that? in simple, when div is visible, cancel onmouseover. then when div display:none, then enable onmouseover?

Member Avatar for Airshow
0
114
Member Avatar for leroi green

hey all, i found a way to click a link and load it into a div. the only problem is that i keep getting the "AHA error" from the if statement in my div. i'm not sure if it is me or the coding but i'll post what i'm using …

Member Avatar for memaddy
0
671
Member Avatar for Bubbleboy

I have a problem. I have an image set to the background, this method is working for fire fox, here is how i got a background image. [CODE]<img src="docs/Plasma.gif" id="background"/> <div id="content">[/CODE] Right after the body tag and [CODE]img#background { position:fixed; top:0; left:0; width:100%; height:100%; } #content { position:relative; z-index:1; …

Member Avatar for Bubbleboy
0
152
Member Avatar for lam3r4370

I have 100 inputs with name - table[]. How to get their value with jQuery,like $_POST['table'] ,as I do in PHP. I tryed [CODE]$("input[name='table[]']").each(function() { document.write($(this).val()); });[/CODE] but I want to get them as an array.

Member Avatar for Airshow
0
79
Member Avatar for bogdanxpose

Hi, I have a question about ajax, php si mysql.. In mysql i have a table playlists and here is the code for php: [code] <?php $playlist_result = mysql_query("SELECT *, COUNT(playlist_id) AS NumOccurrences FROM playlists WHERE created_by=$user_id GROUP BY playlist_id HAVING ( COUNT(playlist_id) > 0 ) ORDER BY date DESC"); …

Member Avatar for Airshow
0
76
Member Avatar for Admart

[code=php] <?php function get_string_between($str,$start,$end){ $str=' '.$str; $ini=strpos($str,$start); if($ini==0) return $tbl; $ini+=strlen($start); $len=strpos($str,$end,$ini) - $ini; return substr($str,$ini,$len); } function fix($va){ $va=strip_tags($va); $va=htmlentities($va); return stripslashes($va); } if(isset($_GET['from'])) $from=fix($_GET['from']); else exit(); if(isset($_GET['to'])) $to=fix($_GET['to']); else exit(); if(isset($_GET['num'])) $num=fix($_GET['num']); else exit(); $fs=file_get_contents('http://www.google.com/finance/converter?a='.$num.'&from='.$from.'&to='.$to); $parsed=get_string_between($fs,'ss=bld>',' '.$to.'</span>'); echo $parsed; ?> [/code] Example: I am going to currencies.php?from=USD&to=EUR&num=1 and …

0
42
Member Avatar for lordspace

Hi, Can somebody point me to a visual web CSS editor + live preview similar to Blogger > Layout > Page Elements where you could drag and drop elements and change styles. Thanks

Member Avatar for pritaeas
0
110
Member Avatar for thorshammer

My form Submit button has an onClick="myFocus()" call, which looks like: <code> theFocus = document.getElementById('warning'); theFocus.tabIndex = 'auto'; theFocus.style.background = 'red'; theFocus.focus(); </code> It works - briefly. Right after clicking Submit (top of form no longer visible when Submit reached), the focus goes to the target element and turns red …

Member Avatar for thorshammer
0
113
Member Avatar for filch

I have a page on which I have broken it down into several forms, which relate to specific categories applied to an awards contest for students. At the top of the page, I have a select list which, when a category is selected, I want it to show a particular …

Member Avatar for filch
0
99

The End.