14,054 Topics

Member Avatar for
Member Avatar for teamjea

When I in FF send an updated textarea text for database update I do not get the current value, but the old value. I use jquery, and as far I can tell there is nothing strange in the code, thd DOM is loaded etc. When I do the same in …

Member Avatar for Troy III
0
134
Member Avatar for cambraydesign

I have an RSS feed that is called using javascript. What I would like to happen is that the information gets displayed as html when you view source instead of the javascript. Here's the javascript: [CODE] <script type="text/javascript" onload="$('div.rssBody').vTicker();"> $(document).ready(function () { $('#ticker1').rssfeed('http://feeds.bbc.co.uk/iplayer/highlights/tv',{}, function(e) { $(e).find('.homepageupdates').vTicker(); }); }); </script> <div …

Member Avatar for cambraydesign
0
235
Member Avatar for kristo5747

I built a very simple app using a PHP form with a bit of Javascript. In my form, I have a text input which I used to run a database search. In case I have multiple values, I have a bit of code that puts a comma in between each. …

Member Avatar for Troy III
0
172
Member Avatar for toplisek

I like to set trigger on Jquery based framework. [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" xml:lang="en" lang="en"> <head> <title>Trigger scroll</title> <script type="text/javascript" src="jquery.js"></script> </head> <body> We have found an error on your page with form. Please modify this input field.<a id="scroll" href="javascript:void(0);">Please go go to …

Member Avatar for stbuchok
0
180
Member Avatar for mingis

Hey, I've been scratching my head over this all day, would be most grateful for any help. Basically I have two links (in an unordered list). I would like each link to load a form onto the same page. I have no problem loading the HTML content and displaying the …

Member Avatar for mingis
0
302
Member Avatar for Thevenin

Hi all I'm trying to have some jQuery movement on my HTML page. I have a div that I want to move from right to left, and another one from left to right. This is what I did: [CODE] #rectone { background: #0000FF; height: 10px; width: 100px; float:right; position: absolute; …

Member Avatar for Thevenin
0
179
Member Avatar for ivanichi

I want to create a button to be executed and produce: a warning and if the click OK to go to another page. look at my javascript code, I've made ​​but I do not know [COLOR="Green"][U]where to put such a target="_blank"[/U][/COLOR], anyone please help me. thanks. [CODE]<script language="JavaScript">alert('Thanks'); document.location='kuitansi.php?id=<?php echo …

Member Avatar for Airshow
0
92
Member Avatar for Philippe.Lahaie

hello, i figured this forum was more appropriate for this thread than the javascript forum, here is why : my javascript is functionnal, and does not set/change css rules of the objects i manipulate. But here is my problem, i have 2 dynamic listbox (selects with size 10ish) with 4 …

Member Avatar for Philippe.Lahaie
0
168
Member Avatar for geneh23

Hey everyone, So I am making a sample website for now and will be uploading it when I can but I want a "lavalamp" style menu..however I can't seem to get the hover "slide/float" to work right..it shows the menu bar but wont show the hover effect..can anyone help me …

0
70
Member Avatar for Jackson Desai

i have simple javascript.i want to refocus on a text box control when it is left blank by user..everthing going all right.message is also displayed "this field is required" besides dat textbox control.when focus is lost with blank textbox.i [COLOR="Red"]want to cursur back on lost focus in dat blank textbox..[/COLOR]give …

Member Avatar for stbuchok
0
32
Member Avatar for jpknoob

Hello all, afetr receiving such excellent help regarding my first ajax file, i have received an error in my code that i have not encountered before. I have created a form with input fields and when the button is clicked, three functions are run, the first is an ajax call …

Member Avatar for jpknoob
0
328
Member Avatar for learner guy

[CODE] function displayResult() { var damn = document.getElementById("textyar").value; document.getElementById("oneforty").innerHTML = damn; var newDIV = document.createElement('div'); newDIV.className = "tweets"; var newspan =document.createElement('span'); newspan.className = "imagespanleft"; var img = document.createElement("IMG"); img.className="image"; img.src = "tweets/me.jpg"; newDIV.innerHTML = document.getElementById('textyar').value; document.getElementById('leftmaindiv').appendChild(newDIV).appendChild(newspan).appendChild(img); } [/CODE] this is the code , i m trying to create an interface …

Member Avatar for learner guy
0
1K
Member Avatar for Virangya

hi, i'm develping a system which opens a jquery dialog onclick of a image. but i fuond out that when an body wrap is there (a div) an it has a style [ICODE]float:left[/ICODE]. dialog opens after the page.. how can i fix this without removing [ICODE]float:left[/ICODE]? help needed soon. thanks …

Member Avatar for Virangya
0
194
Member Avatar for Melow

Hy, I need to get the full path of a file trough JS/Prototype and all i get is the name file. From what I read on the web this is a security issue and it is not allowed. But still, is there a way?

Member Avatar for Melow
0
159
Member Avatar for jcarbillon
Member Avatar for jcarbillon
0
99
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
60
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

The End.