14,054 Topics

Member Avatar for
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
110
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
823
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
259
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
225
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
Member Avatar for cholleti.varaprasad

<html> <head> <style type="text/css"> /*#pwidget { background-color:lightgray; width:254px; padding:2px; -moz-border-radius:3px; border-radius:3px; text-align:left; border:1px solid gray; }*/ #progressbar { width:30px; padding:1px; background-color:white; border:1px solid black; height:10px; } #indicator { width:0px; background-image:url("shaded-green.png"); height:10px; margin:0; } /*#progressnum { text-align:center; width:250px; }*/ </style> <script type="text/javascript"> function disp_text() { var w = document.myform.mylist.selectedIndex; //alert(w); var …

Member Avatar for cholleti.varaprasad
0
158
Member Avatar for randomkid73

I'm having an issue accessing values of an AJAX response from a PHP script. I'm using an `alert()` for debugging purposes to show the data and it shows "undefined" as things are done below. Here's what I have so far. jQuery AJAX request: $(".edit").click(function(event) { var id = $(this).parents("tr").attr("id"); alert(id); …

Member Avatar for GliderPilot
0
12K
Member Avatar for Skeldave

Hi, I am creating an app using PhoneGap and I'm having trouble getting the selected id of a listview item when it is long pressed. I have tried using the JQUeryMobile TapHold event which works but only gets the ID of the listview, not the individual items. $('#listview').bind('taphold', '> li', …

Member Avatar for AleMonteiro
0
750
Member Avatar for Dice.Creativity

hi im new to this ive got a question is it possible to link an item to start another javascript? possibly with an on click funktion ? so that the javascript only starts once you click an item on the navigation bar? <script type="text/javascript"> $(document).ready(function(){ $.uiPro({ leftMenu : { 'item1' …

Member Avatar for stbuchok
0
204
Member Avatar for pawan768

Hi , I try form many days , but unable to do anything on this niche , Finally I come here to resolve my problem , please help me on that, Problem : I try to add a serach box which search from database and show top 5 result below …

Member Avatar for pawan768
0
98
Member Avatar for MWEB

Hallo everyone! I've a question about jQuery load function .So I have the following page .. I have to load this page : https://www.mann-hummel.com/online-catalog/EU/rum/vehicle Is that code correct? <html> <title>Load function</title> <head> <script src="http://www.filtreautomobile.ro/core/jquery-latest.js "></script> <script src="http://www.filtreautomobile.ro/core/function-demos-script.js"></script> <script type="text/javascript"> var JQFUNCS = { runFunc: { "load": { run: function(id) { …

Member Avatar for MWEB
0
139
Member Avatar for raghujosh

I have a page which does an AJAX call and loads an entire page. The page that gets loaded has some Javascript. The javascript works on page by itself when loaded, but when its gets loaded by AJAX, the Javascript does not work. I dont know what I am missing. …

Member Avatar for MMSWEBSD
0
5K
Member Avatar for Violet_82

Hi I have run into a issue recently. I am working on a website that involves quite a bit of scrolling: basically, there is a fixed position menu with some anchor links. when you click on an anchor links the page automatically scrolls down to the desired position. All good …

Member Avatar for Violet_82
0
383
Member Avatar for sanjeewa.abeywardana

**Searching for a Jquery IDE(BEST ONE) supporting intellisense inside the IDE** feature. wonder how can this be acheived .... so it is rather easy to develop or to get to know with syntax issues. a LIGHTWEIGHT IDE is preferred supporting windows enviornment.

Member Avatar for pritaeas
0
33
Member Avatar for axel22

I am figuringout why my code isnt working, I have tried numerous different variables and so on. I need help on why it is not calculating? <html> <head> <title> Quadratic</title> <script type="text/javascript"> function Calculate() { var a = document.getElementById("aBox").value; var b = document.getElementById("bBox").value; var c = document.getElementById("cBox").value; var x = …

Member Avatar for pritaeas
0
90
Member Avatar for DanielPepzi

Hi! New here, but i'll keep it short and as detailed as i can. I have searched for anything similar but cant seem to find anything.. Well, here is what i am having problems with: I'm trying to create an array (consisting only of img src) for every image loaded …

Member Avatar for DanielPepzi
0
406
Member Avatar for Waleed Baig

Hey there! I am making something related to images... So, Using JavaScript and JQuery $(document).ready(function(){ $.fx.speeds.slow = 2000; $(".Gallery").hide().load("gallery.php").fadeIn("slow"); setInterval(function(){ $(".Gallery").hide().load("gallery.php").fadeIn("slow"); }, 3000) }); In this case I want to refresh the div(.Gallery) but I dont want to load gallery.php, In fact what I want is, Put the gallery.php code …

Member Avatar for GliderPilot
0
174
Member Avatar for lucy1997

Please help I've written this code and it works until i asked it to check if the radio buttons were checked and if none of them were checked to come up with an error alert and if one of them was checked to ask the user to confirm if it …

Member Avatar for Taywin
0
181
Member Avatar for shadiadiph

Sorry I have been searching for hours and hours now been looking for a way to gzip a file in javascript client side so i can then upload it and unzip it server side. You may ask why not just zip it normally? This is for my users and most …

Member Avatar for dcdruck
0
1K
Member Avatar for adishardis

Hi, I have this fiddle that works but on my website it does nothing. http://jsfiddle.net/adishardis/r3eyD/17/ What is the best way to troubleshoot why this is?

Member Avatar for adishardis
0
676
Member Avatar for Angel78

So I have been wrestling quite some time with this and starting to stare myself blind here. Maybe this is trivial and I bet I am missing something basic so here goes. I have a simple html document with two paragraphs, both are class=show with the id's: id=show1 & id:show2, …

Member Avatar for mrnutty
0
224
Member Avatar for eantz

Hi.. I have an XML file like this <?xml version="1.0" encoding="UTF-8"?> <player> <user> <username>destiya</username> <password>destiya</password> </user> <user> <username>dian</username> <password>dian</password> </user> </player> then I want to parse it with javascript and here is my javascript code : function loadXML(path) { var xhttp; xhttp = new XMLHttpRequest(); xhttp.open("GET", path, false); xhttp.send(); return …

0
52

The End.