15,120 Topics

Member Avatar for
Member Avatar for feoperro

Hi, I'm creating a table with X amount of rows (Importing from a Database table). I need to be able to click on a row in the table (any specified row), and onClick, the row number that was clicked on must be printed. Can anyone give me some advice on …

Member Avatar for ChandraSekaranU
0
208
Member Avatar for rpjanaka

[COLOR=SeaGreen][COLOR=Black]hi all, in javascript normaly page redirection can be done as follow with a parameter. [/COLOR] window.location = "add-new-cos.jsp?id="+id; [COLOR=Black]but this id value is send to the next page with in the GET method. but i want to send it with the POST method. is there any way to do …

Member Avatar for NavedAhmed
0
483
Member Avatar for davidp994

hi, I am generating records through php/sql, as u can see the code displays 5 records, what Im trying to do is program so that when the next button is pressed the next 5 records will show?? any help much appreciated thank you, the code - function show(qstring,qtype){ $("#vsdiv").show(); var …

Member Avatar for dcdruck
0
139
Member Avatar for HelloJarvis

So I'm working with popovers using Twitter Bootstrap. I want to change the popover's content dynamically later on in my program, so after setting the popover: $("#test").popover(selector:$("#test")); $("#test").html("test"); I try setting the selector of the popover so I can manipulate it later. This doesn't work, however, so how do I …

Member Avatar for HelloJarvis
0
386
Member Avatar for davy_yg

Hello, This is my website: [website](http://www.rustoleum-indonesia.com/Rustoleum1-3.php) I would like to include [google map](http://gmap.nurtext.de/examples.html) I have been trying to replace the static map with another type of map just like map #3 Well, the one that I have been working on is still offline. This is the only code that I …

Member Avatar for pritaeas
0
179
Member Avatar for Phil Moore

Hi all. I'm wondering if anyone can point me to some javasript that is easy to set up for tabbed tables?

Member Avatar for Phil Moore
0
74
Member Avatar for fcvolunteer

I'm working on a dynamic form where based on a visitors selection of radio buttons certain <div> text and additional fields are shown or hidden. I would like to make some of these additional fields required but only if they are shown. (I tried making them required even when they …

Member Avatar for fcvolunteer
0
3K
Member Avatar for Smita Godase

Hi, I have created a news block which has autoscrolling text using marquee tag. I have also created an event onmouseover scrolling text should stop. Now I want it like when text stops scrolling a scrollbar should appear n we could read the previous or next news by scrolling text …

Member Avatar for Smita Godase
0
185
Member Avatar for mani2604

Hi everyone... Well i do have a mysql query in one php page(php_1) & I want to submit the variables to the query in different php page(php_2) via form action but how am I supposed to do it without redirecting to php_1.. All I need is to post the data …

Member Avatar for Bachu
0
3K
Member Avatar for shlokka

hi everyone... i have tried creating an auto updater that will reload a certain div just like on facebooks status/wall refresher, when a user moves the mouse it auto refreshes there wall. so far i have the code below...but the problem is its just executing my function over and over …

Member Avatar for shlokka
0
137
Member Avatar for newbie26

is there any way i can send a notification to other pc through system tray pop up balloon using javascript? any code samples??thanks.

Member Avatar for noelthefish
0
268
Member Avatar for Amr87

Hello Everyone , I`m using an Jquery accordion effect that you can download from here [url]http://www.marghoobsuleman.com/jQuery-common-accordion[/url] The Author of this script does not respond to my complains , and I hope u can help me here the problem happens only in webkit based browsers (Chrome,Safari) where when trying to re-play …

Member Avatar for nits18
0
195
Member Avatar for Venter

i'm Having 3 tables those are like 1.State table 2. District Table 3.college Table state table cat_id state 1 Andhrapradesh 2 Gujarat 3 Punjab 4 mumbai --------------- district Table cat_id d_id district 1 1 vizag 1 2 eastgadavari 1 3 hyderabad 1 4 westgadavari -------------------------------------- college table Cat_id d_id c_id …

Member Avatar for david.leatherman.908
0
410
Member Avatar for TraderX

Hello all I am trying to find a menu tree that I can use on my vbulletin site in my left column. I have looked at [URL=http://www.dynamicdrive.com/dynamicindex1/switchmenu.htm]DHTML Switch Menu[/URL] I like it but, it doesn't remember what you had open (if you were in a sub folder) when you get …

Member Avatar for HunainHafeez
0
220
Member Avatar for eburlea

Hello. I want to get data from a table. I wrote the folloing JavaScript code: var homeTeam = document.getElementById('home').firstChild.data; The html code for the table is: <table> <tr> <td id="home"><span class='yellowcard'></span>Tottenham</td> <td id="away">Chelsea</td> </tr> </table> How is it possible to get the word 'Tottenham' in this case? My JavaScript code …

Member Avatar for Jimnto
0
18K
Member Avatar for Delusional

Hello can anyone help me with the following problem? Here goes... I have the following in my js file: $(function () { $('a.modalDlg2').live("click", function (event) { loadDialog(this, event, '#User Details'); }); }); /* end document.ready() */ function loadDialog(tag, event, target) { event.preventDefault(); var $loading = $('<img src="../../Content/assets/images/nivo-loader.gif" alt="loading" class="ui-loading-icon">'); var …

Member Avatar for AleMonteiro
0
111
Member Avatar for MrCapuchino

Hello, I have a really weird problem. I have a web application written in asp.net and it works perfectly locally, the problem appears when I deploy it to my remote server. Everything works fine except for a button, it updates information in a database. The thing is that the problem …

Member Avatar for JorgeM
0
215
Member Avatar for vavazoom

Hello, I am trying to incorporate Javascript with ASP. I want to display in the Label how many characters the client has remaining in the textbox. The Label is not changing at all - any ideas? <script type="text/javascript"> function CheckCharCount(textBox, maxLength) { var charCount = maxLength - texBox.value.length; document.getElementById("lblCharCount").innerText = …

Member Avatar for JorgeM
0
1K
Member Avatar for Goldfinch

I ordinarily submit data to my PHP script through a POST action that redirects the page, but I'd like to get Javascript to handle that so I stay on the same page.

Member Avatar for GliderPilot
0
129
Member Avatar for rjony321

Hello seniors, I need **jQuery Tabs-Vertical tabs fuctionality**.Its urgect if you have any collection then please share it.if you dont understand my writing then please see on links http://jquery-ui.googlecode.com/svn/trunk/demos/tabs/vertical.html i want like this but if have any simple then you can also share it.it need simple one. I want use …

Member Avatar for AleMonteiro
0
152
Member Avatar for flynismo

The title may be a bit confusing, but here is what I am trying to do.. I have three different <select> fields, named city, state and zip code. What I would like to do is have the visitor choose a state from the first <select> field. When they choose their …

Member Avatar for flynismo
0
3K
Member Avatar for vizz

<form method="post" name="myForm"> <span class="formError email">Please Enter Valid Email</span> <input type="text" name="Email" id="email" /> <input type="submit" value="Send" name="submitButton" /> </form> .formError{ display:none; } **script 1** var email = $("#email").val(); if(email=='') { $('.email').fadeOut(200).show(); } **script 2** var x=document.forms["myForm"]["email"].value; var atpos=x.indexOf("@"); var dotpos=x.lastIndexOf("."); if (atpos<1 || dotpos<atpos+2 || dotpos+2>=x.length) { alert("Not a …

Member Avatar for vizz
0
1K
Member Avatar for newbie26

hey.can someone help me? i tried executing calc.exe and notepad.exe from browser using javascript but it doens't work. like this: <script language="javascript" type="text/javascript"> function runApp() { var shell = new ActiveXObject("WScript.shell"); shell.run("notepad.exe", 1, True); } </script> or using this: System.Diagnostics.Process.Start("C:\\WINDOWS\\system32\\calc.exe"); none of the above code works. no erros were displayed …

Member Avatar for pritaeas
0
837
Member Avatar for reemasmartin

hai everyone! i want to allow alphabets only textfield using javascript.i show little bit coding.so any one help me

Member Avatar for Bachu
0
85
Member Avatar for hiyatran

When I click on an "Add" button, it would create a new form with the "First Name", "Last Name" field and 2 textboxes, just like the original. So if I click on the "Add" button 5 times, it would create 5 new forms for me. Same idea applies for the …

Member Avatar for Bachu
0
116
Member Avatar for johndohmen1963

Hi hope someone can help me with the folowng I have two <input type="text" id=source1"> <input type="text" id=source2"> and one <input type="text" id=dest1"> i want the value from source1 and source2 to dest1 i put in source1 a name Like John Doe and in source2 only a * in dest1 …

Member Avatar for johndohmen1963
0
182
Member Avatar for Vijaysurya

Hai everybody, I need help, i doing arrange images in two choices one is random another one is image taken date and time value responseJSON return the imagetaken object how to sort images according to time(descending order); anybody plz help me. var c; var pCrop; var crop_api; var rotate = …

Member Avatar for Vijaysurya
0
264
Member Avatar for bilal.saim

<?php $tipi = array("asd","222","dda","xcs"); $gun = array("qwe","vvv","zzz","bffg"); $ay = array("asd","bbb","23a","wqe"); $yil=array("zzz","sad","cxc","zxca"); $say=0 ?> <script> var tipi = new Array(); var gun = new Array(); var ay = new Array(); var yil = new Array(); for(var j=0;j<4;j++) { tipi[j] = " <?php echo "$tipi[$say]" ?> "; gun[j] = " <?php echo …

Member Avatar for bilal.saim
0
235
Member Avatar for bilal.saim

<?php $say=0 ?> <script> for(var j=0;j<limit;j++) { tipi[j] = " <?php echo "$tipi[$say]" ?> "; gun[j] = " <?php echo "$gun[$say]" ?> "; ay[j] = " <?php echo "$ay[$say]" ?> "; yil[j] = " <?php echo "$yil[$say]" ?> "; <?php $say++; ?> } <script/> //I want to increase $say in …

Member Avatar for diafol
0
175
Member Avatar for iblend

I have a form that populates the country field dynamically using AJAX: http://interactiveblend.com/ajax/dynamic.html As you can see, this drop down is too long and runs off the bottom of the page. When I hard code the select list, it looks fine - http://interactiveblend.com/ajax/static.html Any idea on how to make the …

Member Avatar for GliderPilot
1
181

The End.