14,390 Topics

Member Avatar for
Member Avatar for wetube

hello guys, please give me any idea about solving this problem. I have two tables categories: id .... category .... parent ________________________________ 1 .... general .... 0 2 .... news .... 0 news: id .... headline .... category_id ________________________________ 1 .... headline1 .... 1 2 .... headline2 .... 2 3 …

Member Avatar for diafol
0
114
Member Avatar for riahc3

I have this code: [code] <html><head><title></title></head><body><form id='formulario' action='index.html' method='post'><label>Ancho </label><input type='text' name='ancho' id='ancho'><br ><label>Alto </label><input type='text' name='alto' id='alto'><br ><label>Izquierda </label><input type='text' name='izquierda' id='izquierda'><br ><label>Horizontales </label><input type='text' name='horizontal' id='horizontal'<br ><label>Verticales</label><input type='text' name='vertical' id='vertical'><br ><label>Crucero </label><input type='text' name='cruzero' id='cruzero'><br ><label>Marco </label><input type='checkbox' name='marco' id='marco'><br ><label><input type='radio' name='RadioGroup1' value='1' id='piezas'>Piezas</label><br><label><input type='radio' name='RadioGroup1' value='0' …

Member Avatar for Troy III
0
163
Member Avatar for tqmd1

Dear experts I have following codes [CODE]<html> <head> <script type="text/javascript" src=jquery.js"></script> <scritp type="text/javascript"> $(document).ready(function(){ $('button[name="button1"]'.click(function(){ $("p").hide(); }); }); </script> </head> <body> <form> <p>hello</p> <input type=button name=button1 value=hide> </form> </body> </html>[/CODE] Why it does not work?

Member Avatar for AleMonteiro
0
104
Member Avatar for learner guy

i want to assign content of textarea to a div .. like in twitter when you type something and press "Tweet" a div is created and has the content of textarea.. how can i implement it , i know something about getElementById() but not sure how it can help me …

Member Avatar for niranga
0
134
Member Avatar for BilalAKhan

Hi, I am using TinyMCE as a rich text editor. I need to add an image upload functionality. At first I tried Just Boil Images 2.1 for the upload which gave me a good functionality, but when I switched the operating system and came to Windows 7 it stopped working …

0
54
Member Avatar for tapandesai007

I am using a AJAX ModalPopUp control to display some data, which I am fetching through a WebService, what I want to do is that when the Data is being fetched by webservice,(during the time when the data is being fetched) I want to show a .GIF progress bar image …

Member Avatar for Luckychap
0
100
Member Avatar for socialmd

I'm trying to figure out how to use PHP in Javascript to fill in the options for my drop down menus for my dynamic inputs. I've tried several things already, but I have had no luck. This is how my code stands at the moment. Any ideas are greatly appreciated. …

Member Avatar for Airshow
0
299
Member Avatar for clerisy
Member Avatar for ebad.masood

In my form I am using a AjaxToolkit ModalPopupExtender. The PopupControlId has been set to a panel which has a RadioButtonList and a dropdownlist.The panel which pops up is something like this: [CODE] <asp:Panel ID="PopUpWindowPanel" runat="server" Visible="false" BorderStyle="Solid"> <table cellpadding="2" cellspacing="0" width="100%" border="0" class="dataTbl"> <tr> <td class="left"> <asp:RadioButtonList ID="RdBtnLstSortOptions" runat="server" …

0
65
Member Avatar for Virangya

hi, i encoded a long string before i sent it to a url trough javascript. now when i display it using php $_GET[] all the text displays correctly except a "'" (single quotation) it displays as, %u2019 . i'm not sure if there are other encoding that $_get[] won't convert.. …

Member Avatar for Virangya
0
138
Member Avatar for Punitha Balan

[QUOTE=parry_kulk;1185610]An approach would be to create the divs on load of the page and make them hidden with CSS. Then onclick of button just make all of them visible and on clicking on each div make that hidden again. Creating and removing elements dynamically in JS is slow and errorprone(if …

0
61
Member Avatar for jakx12

Hey everyone, I am new to js and am writing a bookmarklet. For some reason cookies are not working at all. I have tried numerous setCookie, delCookie etc functions and none work, so I am using the simplest form of setting a cookie and it still ceases to work. Here …

0
117
Member Avatar for veledrom

Hi guys, I want to assign something into label via JS but code below doesn't work for array. Do I miss something? Thanks in advance [code] <script> function calculate_cost(whichlabel){ document.getElementById('text_cost['+whichlabel+']').innerHTML = 'show me in label below'; } <input type="text" name="text_qty[]" value="0" size="3" maxlength="5" style="text-align:center;" onkeyup="calculate_cost(0)" /> <label id="text_cost[]">0.00</label> [/code]

Member Avatar for veledrom
0
115
Member Avatar for evilguyme

Hey guys! was wondering if anyone knows anything about how to make a popup appear with an image as soon as the page loads.. lots of sites have this and i couldnt find it anywhere on google.. im pretty sure it can be done with java but i may need …

Member Avatar for pritaeas
0
86
Member Avatar for Ryujin

Embarrassed to say how many hours I've burned on this--am hoping someone can point me down the right path. This is more a conceptual question than a straight coding one. Building a web app to enable people to reserve stuff where I work. One of the pages uses a [URL="http://jqueryui.com/demos/datepicker/#date-range"]date …

Member Avatar for pritaeas
0
239
Member Avatar for borgyborg

Hi, I would like to have a php script or javascript to calculate the array textboxes where values fetched from the database. My array textboxes code below: [CODE] $sql="SELECT * FROM records WHERE is_active = 'Yes'"; $result=mysql_query($sql,$connection) or die(mysql_error()); while ($row=mysql_fetch_array($result)) { $default_salary = $row["default_salary"]; echo "<input onkeyup=\"AddInputs()\" type=\"text\" class=\"validate[required,custom[onlyNumberSp],maxSize[5],minSize[3]] …

0
82
Member Avatar for Virangya

hi, i'm passing a content in a div tag to a url. url looks like [ICODE]index.php?content=texttext &amp; text text[/ICODE] .. so on. when i'm trying to display this string, php only displays content up to &amp; it stops at '&' how can i stop this? i need to change this …

0
105
Member Avatar for patk570

Hello everyone. I seem to be having trouble with the doMath() section of my code. I was wondering if you can help me out... [CODE] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Package Plans</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Style-Type" content="text/css"> <meta http-equiv="Content-Script-Type" content="text/javascript"> <SCRIPT LANGUAGE="JavaScript"> function …

0
95
Member Avatar for jphillips66

I used from <script> to </script> and the image sections as well. except on my page I have five images a crossed the bottom of the page. So when the image gets larger I want all images to stay in the same spot instead of moving down the page. What …

0
61
Member Avatar for Virangya

hi, i have this jquery page that is included in an html file and in that file i have a function with .dialog() i want to open a normal pop up if this dialog doesn't work.. i was wondering how ca i do this... will try() catch() work on this..? …

Member Avatar for Airshow
0
191
Member Avatar for Troy III

This is my first post of a type: "question", so bare with me... I need to obtain a list of supported events on an encountered browser version programmatically, ie, via script. Since Explorer exposes its events on document object I can do something as simple as this: [CODE];for(x in document)if(/^on/.test(x))alert(x);[/CODE] …

Member Avatar for Troy III
0
110
Member Avatar for BenzZz

Hi, I want to use javascript within my php file. The three drop down boxes involved are: [CODE] <select name="year" width="10"> <option value="<?php echo $curYear ?>"><?php echo $curYear ?></option> <option value="<?php echo $curYear++ ?>"><?php echo $curYear++ ?></option> </select> <select name="month" width="10"> <option value="01">01</option> <option value="02">02</option> <option value="03">03</option> <option value="04">04</option> <option …

Member Avatar for AleMonteiro
0
156
Member Avatar for Microno

I think I'm about to go mad. For the past few hours I've been trying to get this: [Code]<HTML> <Head> <LINK REL=StyleSheet HREF="style.css" TYPE="text/css"> <Title>IB Physics - Main</Title> </Head> <Body> <img class="source-image"; src="header.jpg";> <table class="Navbar"; style="margin-top: 50px; padding:25px;"> <tr> <td><a href="index.html"; class="Link-images";><img class="Link-images"; src="Main.png"></a></td> <td><a href="forums.html"; class="Link-images";><img class="Link-images"; src="Forum.png"></a></td> <td><a …

Member Avatar for Microno
0
379
Member Avatar for dean8710

i am newbie in javascript... i have problem here, i want to pass the value (date) to database script (php) i want only the matched keyword will be displayed. i try several method but still did not get the right result as desrved. someone please alter my code. tq index.html …

0
90
Member Avatar for sunny_8088

I have one dynamic drop down list from data base (working fine) Use can select random entries from this table & hit "RETRIEVE" On the bottom of the page I should get result set from other table depending on the multiple values selected by user in first drop down list. …

0
29
Member Avatar for Kinetic

I am creating a website that will display the web in an inline frame. I want to be able to drag links from the frame to a text element that acts as an address bar also located in the page. When the items are dragged and dropped into the address …

Member Avatar for fobos
0
112
Member Avatar for Macko888

Hey Peeps! Im not too familiar with jQuery, Ive been wanting to make a tooltip for a "search result grid", each trigger should have a unique comment in the tooltip. so say for instance i have a php call like so: [CODE] <?php $query = mysql_query("SELECT * FROM `Cars` ORDER …

Member Avatar for fobos
0
190
Member Avatar for morrisproject

I want to validate a textbox, currently im using this: [CODE] <script type="text/javascript"> function validate_form (){ var Motor_Frame = document.getElementById('Motor_Frame'); if(Motor_Frame.value == ""){ alert("Please fill in Motor Frame. If no motor please fill in with N/M") document.forms[0].Motor_Frame.focus(); return false;} return true; } </script>[/CODE] but i want it to check a …

Member Avatar for sufyan2011
0
169
Member Avatar for jeraldmuthu

please find the attached file and see the output. And help me out please this code getting system current date and function. but my requirement is get date from database like the clock want to spin. Please help me out to fix the error d3.js [CODE] (function(){if (!Date.now) Date.now = …

0
241
Member Avatar for warlord902

I have 4 buttons on my page and I want each one to make a different http post request on clicking them. I tried using form for each of them but that make them appear in different lines but I want all of them to be horizontally aligned. Is there …

0
154

The End.