15,700 Topics

Member Avatar for
Member Avatar for lewilaloupe

Hi, I have a form where the users can add "name" and "id" fields by clicking on the "Add" button. The input fields look like this (each pair is a row): [CODE]<input name="name_1" id="name_1" /> <input name="id_1" id="id_1" /> <input name="name_2" id="name_2" /> <input name="id_2" id="id_2" /> ... [/CODE] The …

Member Avatar for parry_kulk
0
2K
Member Avatar for soft_coder

Hi! I have created a modal dialog. When I close it the page refreshes automatically but in my scenario the page should not do so. The code I am using is: [CODE]$(document).ready(function () { $("#addaccount").dialog({ height: 'auto', width: 'auto', modal: true, autoOpen: false }); $("#addaccountlink").click(function (e) { $('#addaccount').dialog('open'); });[/CODE] Here …

Member Avatar for soft_coder
0
7K
Member Avatar for Nitin Daphale

I take value from textbox as, [CODE] var perOfEasyQues = parseInt(document.getElementById("<%=txb_EasyQuesPerc.ClientID%>").value); [/CODE] but as I put 012 it takes 10. Can anybody suggest solution over it?

Member Avatar for Nitin Daphale
0
81
Member Avatar for Mars1936

Hello, I'm trying to skip a line every 'x' queries that gets displayed. I can get the records to show but I can not skip a line every 'x' query shown. I've tried using javascript and php but can not get it to work. Can someone plz help or give …

Member Avatar for Mars1936
0
150
Member Avatar for scarcella

I want to know how to update a href link with javascript using an image. I have a image which has to update a href which displays a lightbox. Could someone please tell me know to do this.

Member Avatar for scarcella
0
109
Member Avatar for cavpollo

Hi there, I got this annoying problem... I have to create dynamically an image control that has got to be accesses later through javascript. In other words, I got an image that was created in the page code, and using javascript I got to be able to work with it …

Member Avatar for cavpollo
0
673
Member Avatar for xml_looser

Hallo @all my problem is XMLHTTP by Mozilla Browser is an example W3SCHOOL [URL="http://www.w3schools.com/xsl/xsl_client.asp"]http://www.w3schools.com/xsl/xsl_client.asp[/URL] [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <title>html work with xml and xsl</title> <meta content="text/html; charset=us-ascii" http-equiv="Content-Type"> <script type="text/javascript"> var xsltProcessor; var xml; var xsl; var xhttp; var ex; function checkBrowserName(name){ var agent = …

Member Avatar for Airshow
0
315
Member Avatar for cossay

I started learning AJAX recently and I must say that it is very interesting. But I have a little problem understanding why [B]nodeValue[/B] is not returning any value. But when I change the [B]nodeValu[/B]e to [B]nodeName[/B] I get the right result. I am currently accessing the individual elements manually because …

Member Avatar for cossay
0
191
Member Avatar for lse123

I want like [3 drop-down menus / picker] at: [url]http://www.russian4foreigners.com/node/298[/url] (end of page) implement mine at: [url]http://www.poliscarhire.com[/url] (left side of page) currently exist ONLY 3 drop down menus... I think above site used Drupal & jQuery (source code)... well, I want as you see in my site, a total of …

0
91
Member Avatar for YooJayDee

Hi, I am using MasterPages with ASP.NET. The main contstruct of my MasterPage is a table providing a header, menu panel, main content and footer. I would like the table to at least fill the whole screen height. I've found (thru Google) a way of determining the screen height. The …

Member Avatar for YooJayDee
0
103
Member Avatar for minimogul

found this code on this website cant find the url but if I find it i will post it The code is basically the same as the following.I want to be able to place links inside the tool tip I was wondering if there was a way i could do …

Member Avatar for Arkinder
0
191
Member Avatar for Aeterna

[CODE]function getUsers(column, id) { $.get('userlist.php', {column: column, id: id}, function(output) { $("#userlist").html(output); }); setTimeout(getUsers(column, id), 5000); }[/CODE] userlist.php checks for users online. i want it to check every 5000ms (for example, doesnt have to be that) Firebug is giving me 'too much recursion' errors. I've used this exact code structure …

Member Avatar for Airshow
0
123
Member Avatar for azegurb

hi All I hace created job site i writed to my own CSS. but it displays in IE fine like i want. but in Mozilla it displays all borders. how can i do that in displays table like in IE. Thank you very much. this is my site [URL="http://www.karyeram.com"]http://www.karyeram.com[/URL] my …

Member Avatar for azegurb
0
136
Member Avatar for soft_coder

I have tried the following but I am unable to do so: <link rel="stylesheet" type="text/css" href="http://7h5nk1s:11261/ecmaomexamples/SiteAssets/password_meter.css"/> <script type="text/javascript" src="http://7h5nk1s:11261/ecmaomexamples/SiteAssets/password_meter.js"></script> When I try to access these files the following line throws error: document.write('<script type="text/javascript" src="/_layouts/blank.debug.js?rev=jE3bS2JFTB63z3iWgauX9w%3D%3D"></' + 'script>'); in the sharepoint page. Urgent help needed.

0
84
Member Avatar for soft_coder

Hi! I am a developer. I am using jquery to implement various functionalities. I am using jquery.js with jquery-1.2.6.min.js. It shows an error in the following code snippet: (!q&&!n&&c.data(this,k,new c[l][k](this,p))._init()) as object expected when I debug the web application. I am a novice in this field. Any kind of help …

Member Avatar for soft_coder
0
285
Member Avatar for help_lucky

I want to download the records of the output of search criteria to excel. As the fields for search criteria are more than 20. I am submitting the form with POST method rather than GET. On click of "Download2excel", the hidden variable name1 is set to Yes. so i will …

Member Avatar for Airshow
0
128
Member Avatar for itisnot_me

hi all, I dont really know jquery that well but im looking for a function that maybe you would know. What i would like to do is insert text into a text area where the cursor last was. I do have this little piece that i found on the web. …

Member Avatar for itisnot_me
0
103
Member Avatar for h20

Hi all, I need help in the alert function. I'm using count in php in which if the item is less than or equal to 10,the alert function would pop up. However my code does not work.Below is my code. Part of the php code: [CODE]echo "<td>".$row['COUNT(item)']."</td>";[/CODE] Javascript code: [CODE]<script …

Member Avatar for Airshow
0
196
Member Avatar for Acute

Hi everyone, can anyone explain me why following code [U]alerts[/U] me nothing: [CODE=javascript] var text = $.ajax({ type: "POST", url: "registration.php", data: "email=" + elementValue }).responseText; alert(text); [/CODE] but when I add option "async: false": [CODE=javascript] var text = $.ajax({ type: "POST", async: false, url: "registration.php", data: "email=" + elementValue …

Member Avatar for Acute
0
261
Member Avatar for tyson.crouch

Hi Guys, Okay, my question goes like this.. I have two sections which start off as hidden (display: none) and depending on the values submitted the two areas may need to be shown. For example, if a checkbox is clicked, it displays one area. And if a specific <select> option …

Member Avatar for parry_kulk
0
97
Member Avatar for flashfango

I would like to make a tree menu with category and sub category in Php. When i click on category then display subcategory with link that subcategory page. it is with mysql database. I’m tried to make this but I can't. I want to use the tool ([URL="http://www.sothink.com/product/treemenu/"]http://www.sothink.com/product/treemenu/[/URL]) for it, …

0
65
Member Avatar for ddrumpac

I am trying to find an adjustable counter that I can use on our site to show a steady increase in dollars collected. I guess similar to the the national debt counter, but the values need to be programmable and adjustable (starting amount, increment amount, speed, etc) by me. It …

Member Avatar for VisibleFrog
0
447
Member Avatar for Sorcher

Hello, i was wondering how i can put text inside a <input form that disappear when the user clicks inside the form. I would like to write "Description" inside a form so they know that they have to write a description into that form. Sorry if its hard to understand …

Member Avatar for Sorcher
0
83
Member Avatar for kalleanka

Hi! I am looking for a function that will add spaces in a string in a certain manner: tmpStr: 123456789123 (always 12 digits) the desired outcome is: 123 456 78 91 23 Do anyone of you have a neat fuction for that? :) I found one question in this forum …

Member Avatar for kalleanka
0
100
Member Avatar for valdrian_miran

How will I parse this XML using jQuery? <item> <station></station> <headline><![CDATA[]]></headline> <showDate>12/28/2010</showDate> <showTime></showTime> <doorsOpen></doorsOpen> <buylink></buylink> <description><![CDATA[]]></description> <pubDate>Mon, 27 Dec 2010 10:48:28 PST</pubDate> </item> I have to display month and date separately..

Member Avatar for parry_kulk
0
125
Member Avatar for dalip_007

When we are on facebook page and someone sends us a message,(not chat message), or any notification does occurs, Then a red number is appeared at the top to notify us (user) about the message. even if we don't refresh the page. This happens without the page refresh, Same thing …

Member Avatar for Moderns
0
115
Member Avatar for ckdoublenecks

I don't know why I get the message "unexpected $end" at the last line of code - can someone help? [CODE]<?php mysql_connect(localhost,root,""); mysql_select_db(test) or die( "Unable to select database"); if(!empty($_POST["submit"])) { $apt = $_POST['apt']; $query="SELECT * FROM payments Where apt='$apt'"; $result=mysql_query($query); if(mysql_num_rows($result)) ?> <html><head><script type="text/javascript"> if ($late = "L") {$rentdue …

Member Avatar for cossay
0
140
Member Avatar for bibekpokharel

I've been stuck in a situation. I am trying to retrieve image from database using ajax. I am using php as a server side scripting language.. I need to run the js funtion on every image i fetch from the database which happens to be a while loop...But that doesnt …

Member Avatar for Moderns
0
81
Member Avatar for Moderns

Hello, Assume we have one button that fires ajax request, ajax call will talk 15 seconds to load the results. Assume the user clicked on that button first time and waited for 5 seconds, then he/she clicked again. In this case the page will be loaded two times. i.e. first …

Member Avatar for Moderns
0
3K
Member Avatar for xuexue

hi guys, just want to ask some question. i have two textboxes txt1 and txt2. these two possess jquery autocompletes within.. now, what i want to do is that this two are interconnected. Meaning, the values in autocomplete in txt2 will depend upon the values inputted in txt1. consider this …

Member Avatar for xuexue
0
197
Member Avatar for ichigo_cool

I've been spending a long time trying to figure this out but just can't. I've made a complete layout using CSS and XHTML; combining id styles with divs. I can't, for the life of me, figure out how to use the menu I've made to have the content of the …

Member Avatar for Airshow
0
368
Member Avatar for moonknight33

Hey, please help me, this html file run normally in other browser but Firefox. [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>Hello everyone... </title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <!-- Redirect webpage <meta http-equiv="refresh" content="2; url=/web/forum/vanilla" /> --> </head> <body> <script language="javascript" type="text/javascript"> function …

Member Avatar for hielo
0
194
Member Avatar for localp

I am trying to create a web page, that could be navigated by using tabs. I have been googling for days trying to find a way to change colour of a menu bar when it is on focus (when used the tab control in the keyboard). But it doesn't change …

0
61
Member Avatar for Ryujin

Hi all. I'm trying to add a slight delay to [URL="http://www.kutztown.edu/library/labs/newt.asp"]this page's[/URL] drop-down menu. Though I assume that entails a call to setTimeout() somehow, I've tried all I can think of (which isn't much...) and am clueless. Thank you for any tips! [CODE] <script type="text/javascript"> var timeout = 200; var …

Member Avatar for Airshow
0
433
Member Avatar for mrcpp

I'm using jCarousel to create this multi-row slideshow and..well... It doesn't work. I really don't know why, and this is very urgent. I have less than an hour to finish it. Please, please help me. main page: [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-us"> <head> …

Member Avatar for mrcpp
0
358
Member Avatar for youlichika

hi. I want to add a google map(with street view) in my site. I use this code. when I clicked the point on the map, it can change the street view to this part and show the click point information. But how to add a Red balloons marker in the …

Member Avatar for youlichika
0
360
Member Avatar for lse123

what is the trick, when a user go to an external link of my page an alert, or confirm box appear, or run some other code?

Member Avatar for rakhi4110
0
301
Member Avatar for PaliGap

The background to this is that I have two server-side scripts: * upload.cgi: accepts a file upload * monitor.cgi: reports the size of the file upload as the file upload progresses. There is a form handler: onSubmit="doProgress();" for the upload form that points to upload.cgi. This does the asynchronous thing …

Member Avatar for fxm
0
1K
Member Avatar for Moderns

Hi, I have a php page called: radio_page.php, it contains two radio buttons. First radio button is checked as default when loading the page. I need when clicking on second radio button to refresh the page and keep selection on second radio button, I am trying that as below, but …

Member Avatar for Moderns
0
6K
Member Avatar for soomro_moon

can any plzzzzzzzzz help me out !!!!!!!1111 i need to add print button in my page that will print the hole page with imags and txt everything. but the code should be simple plzzzzzzzzzzzz help meeee

Member Avatar for soomro_moon
0
103
Member Avatar for altarek

i want to add (+)to add more than textfield for phone [CODE]<form method="post" action="" enctype="multipart/form-data"> <table width="800" border="0" dir="rtl" style="direction:ltr;"> <tr> <td scope="col" style="direction:rtl;"><label for="textfield">name</label> <div align="right"> <input type="text" name="person_name" id="person_name"/> </div></td> </tr> <tr> <td style="direction:rtl;"><label for="textfield">job</label> <div align="right"> <input type="text" name="person_job" id="person_job" /> </div></td> </tr> <tr> <td style="direction:rtl;"><label for="label">mobile</label> …

Member Avatar for altarek
0
104
Member Avatar for chazzam

I have a problem with google maps. I want to 'click' a marker remotely (that is to say the user will be able to click on a button and affect the marker, as though the marker itself had been clicked). Not a problem except I don't know how to name …

0
150
Member Avatar for 1337hovie

Hello fellas, new to posting - but a lurker for a definite minute. I have a working ajax validation function, which works 100%. However, i need to add in 1 extra if statement. I tried writing it, and it's not working. i'll post my working code, and i'll post what …

0
82
Member Avatar for TheWhite

I have never used javascript before, but I know most other programming languages. [CODE] <div id="test"> <p class="location">New Jersey</p> </div> [/CODE] Is there a way to take out "New Jersey" and save it in a variable using javascript and then to remove the <div> who contains the class="location" (its parent?)

Member Avatar for hielo
0
65
Member Avatar for fantasma

Hi There I've been hammering my head with this for quite a while, and every solution I've tried didn't work, so I was wandering if you could help me with this. I've got a small div that is displayed for each record existing in the database, in order that, later, …

Member Avatar for fantasma
0
2K
Member Avatar for MARKAND911

I want to scan a document from my web application using javascript. How can I do this.

Member Avatar for MARKAND911
0
258
Member Avatar for UncleJoe

I have been hunting the internet for a good explanation, but I can't seem to find one; or I'm simply not getting it... I have a page with a table, where new rows can be added via AJAX. Each row has an input box which can be updated in one …

Member Avatar for UncleJoe
0
106
Member Avatar for krunalkakadia

Hello all, CalendarExtender to my textbox.I am success to first load year. function ChangeCalendarView(sender,args) {sender._switchMode("years", true);} Is it possible to change its behavior so that initially it shows only year to text box and not navigate to month. Thanks, KK

Member Avatar for kvprajapati
0
77
Member Avatar for Moderns

Hello, Please can you hint me about an easy and clear way to cache ajax response into client browser WITHOUT using the JQuery? I am unable to find that on google. I have a page that is loaded using AJAX and it takes long time to load every time (approximately …

Member Avatar for Moderns
0
182
Member Avatar for dennishall

Hi: I'm having an issue posting to MySQL using the animated_form.html below. My objective is to have 4 db entries posted to MySQL when the user clicks on the <a href="javascript: submitform()"><input alt="Show Results" id="btn_results" src="a_data/form_btn_show_results.png" type="image"></a> image. The form uses jquery and it produces 0 results in MySQL. Using …

Member Avatar for dennishall
0
206

The End.