15,127 Topics

Member Avatar for
Member Avatar for ebolt007

Maybe I'm doing this wrong, but here's what I'm trying to do. Ok, so how do I send the URL to a new page? Right now I understand the writing ajax to a div, replacing the contents of the div, appending it etc. But what about if I am using …

Member Avatar for stbuchok
0
431
Member Avatar for dany12

I need to use a handler that will get from my select option in html a value but not the valeu orm the option I will show my code now ...<form action="" method="POST" class="submit"> <label for="select"> Print copy</label> <select class="select" name="select"> <option>1 copy</option> <option selected="selected">2 copies</option> <option>3 copies</option> <option>4 copies</option> …

0
65
Member Avatar for gsique

Hello everyone! I would like of uses a popup Ajax to open a site. For example: The user access the site, open a popup ajax with a warning: "The site is on maintenance. Close the window to use the page index of the site". How to ? Thanks you!

Member Avatar for simplypixie
0
49
Member Avatar for drogba123

Hi guys, I am doing a validation form (3 inputs: number of apple, orange and banana). for example i type: 'a' as input in the form that required only number (apple), it will prompt me error then i type the next input orange: 2 and it will accept it, however …

Member Avatar for Troy III
0
232
Member Avatar for willpollock

I am having an issue with an external javascript. I've included the code from the web page and the javascript code I have. Instead of opening a website when the selection changes in any of the menus, I get a pop-up message box with the address of the web page. …

Member Avatar for Troy III
0
305
Member Avatar for mavis310

hey I'm just having some trdouble with an onclick call. its being called before it iss. not really sure whats wrong with it. im also passing it in a function with arg so that the value i is assigned to it for the loop. i tried it without it and …

Member Avatar for Troy III
-1
159
Member Avatar for turpentyne

help! I'm trying to figure out how to verify looped form fields by name. This seems like it should work, but it's just skipping right past this verification step. Here's the code: <?php session_start(); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script type='text/javascript'> function myForm(){ // …

0
109
Member Avatar for ak47carbon

my coding is working but it is showing html tags from text.html,i want that onmouseover it get data from text.html by tag or div id naem and also by changing in text.html its suddenly chane not on refresh <html> <body> <script language="javascript" type="text/javascript"> <!-- //Browser Support Code function ajaxFunction(){ var …

Member Avatar for FullDuplex
0
102
Member Avatar for bavenbabu

I am new to usage of jquery.I want to show a confirmation facebox while all my input requirements are true.ie when my form fields are validated a simple facebox should appear showing the forms are validated.How can i do it.Itried a lot.But i didnt get the source for facebox.I didnt …

Member Avatar for pritaeas
0
170
Member Avatar for Troy III

We know we already have built-in [I]Trim methods[/I], but trimming doesn't get rid of internal, (and unwanted) extra spaces. -So this is where Normalize method comes to play. It trims left, it trims right, but most importantly it also trims on the inside, one could say: "it trims inside-out". In …

Member Avatar for Troy III
0
322
Member Avatar for mavis310

So for my code that i have below the reg.onclick is happening before it is even clicked and I'm not really sure how to fix this. Thanks for the help in advance. function displaySearch(){ var div = document.getElementById('table') var table = document.getElementById('tableSearch') var res = xmlhttp.responseXML var e = res.getElementsByTagName('element') …

Member Avatar for Troy III
0
188
Member Avatar for InS@NiTy

Hi, I'm trying to use a javascript for loop to write out links with titles from an array, that when clicked will execute a function I have written to pop open a new window, with info on the link clicked, this is the code I'm trying to use (this is …

Member Avatar for Troy III
0
157
Member Avatar for exonwarrior

Hey all! I have to come up with code for taking the contents of an input box on my webpage, use that as the name in my script and then display a message based on the time, say "Good morning Dave!" if it's between 5am and 12pm. I have all …

0
75
Member Avatar for Violet_82

HI there, I was wondering if anybody can advise. I am trying to build an unordered list with a few items in a page, and I want this list to be created and displyaed dynamically. So I create an array of strings and then through jquery I want this to …

Member Avatar for Violet_82
0
2K
Member Avatar for james chaco

Hi, I am luking for a Collection library much like what we get in java and c# and in my hunt i came across few names like bucket, coffeeblack, js_cols. Which would be most compatible with jQuery? As i got a nice library from sourceforge.net but it is not compatible …

Member Avatar for james chaco
0
127
Member Avatar for srinidelite

please tel me the logic behind the code for find the common aphabets between two words?? ex ... mine mind common letters are : m i n like

0
62
Member Avatar for ebolt007

Ok, so I have a few ajax pieces on my site, and I am trying to include functionality when something is clicked. Basically, lets say like on facebook, when someone makes a comment, then that new comment is created. My return is for the pieces with the ID's pulling in, …

0
80
Member Avatar for mavis310

so for my code i have i'm trying to pass along the i variable in the for loop but when i pass it on it passes the highest i value. so when it should be one it passes along 10. i am curretnly passing along the cell6 id and splitting …

Member Avatar for drogba123
0
356
Member Avatar for vizz

I am trying to use jScrollPane vertically, but it is not working. http://jscrollpane.kelvinluck.com/ I want simple styleable scrollbar alternative for above link or need help to make code work ( **Vertical only :-** http://jscrollpane.kelvinluck.com/arrows.html )

Member Avatar for pritaeas
0
83
Member Avatar for abhisheknayak9

i want to check which radio button is checked in rows of a datalist and compare that radio button value with database feild value using javascript or c# can anyone suggest me idea. i has this code: Code blocks are created by indenting at least 4 spaces ... and can …

0
52
Member Avatar for bilibala

Hello everyone, I am thinking to create a vertical menu, which may contain sigle level or even multiple levels of submenus. While mouse is hover one main menu item (parent menu), the related submenu items will appear one by one on the right hand side. While click on one of …

Member Avatar for elbeato
0
148
Member Avatar for VRamone

hi,i would like to add an 'onChange' to my <ext:TextField> to execute a function,but it´s not working.Any ideas?

-1
76
Member Avatar for sanket044

i want to add different javascript to different divs. Is it posible to set .js page's scope to specific <div> ?

Member Avatar for pzuurveen
0
169
Member Avatar for arunsolo1984

I am reading the STATUS field from table CONTENT while modal dialog is being active, then after 10 seconds i have to read the same table CONTENT. If status is changed, i have to stop the polling mechanism and inform the user that content was encrypted. If i done these …

Member Avatar for pzuurveen
0
81
Member Avatar for erik216

<form method="POST"> first name <input type="text" name="ab" value="aadi"> <input type="text" name="bb" value="aadi"> <br> <hr> <input type="checkbox" name="same" onclick="this.form.zb.value=(this.checked)? this.form.ab.value: ''; this.form.zs.value=(this.checked)? this.form.as.value: ''; this.form.se.value=(this.checked)? this.form.sel.value: '';"> Same as first name<br> second name <input type="text" name="zb" value=""> <input type="text" name="yb" value=""> <br> </form> This coding can only when click the checkbox. …

Member Avatar for almostbob
0
112
Member Avatar for newbie1234

I have div.js which is for popup in this i define 2 function getPageSize(); and getPageScroll(); and other file a.php and b.php in a.php as below <script language=Javascript src="/div.js"></script> <script language=Javascript> function divOn (aId_task) { var arrayPageSize = getPageSize(); var arrayPageScroll = getPageScroll(); //bgrnd4 = '<div style="position:absolute; top:0; left:0; width:100%; …

Member Avatar for newbie1234
0
12K
Member Avatar for DarkMonarch

doing this stuff in js and the css doesn't affect the tags in the js writeln js: `document.writeln("<table><tr><td>Nom</td><td>Pr&eacute;nom</td><td>Code Permanent</td><td>Login</td></tr></table>");` css: `table, td, tr{border:2px, double;}` i know this is simple, what am i missing ? oh yeah, it's an external js file, if that changes anything. thx Dark

Member Avatar for DarkMonarch
0
91
Member Avatar for DarkMonarch

what am i doing wrong ? i want to fetch what langugage of new users. i've tested and tried: navigator.userLanguage navigator.browserLanguage navigator.systemLanguage and so far it returns: undefined thx Dark

Member Avatar for DarkMonarch
0
113
Member Avatar for vijiraghs

In the following html code, <html> <head> <title>Blogging</title> <link href="style.css" rel="stylesheet" type="text/css" /> <script type="text/javascript"> var tpe; var islogin = 0; var userid; function ajaxFunction() { var xmlhttp1; if(document.getElementById('searchtype1').checked == true) tpe = 1; else tpe = 2; if (window.XMLHttpRequest) xmlhttp1=new XMLHttpRequest(); else xmlhttp1=new ActiveXObject("Microsoft.XMLHTTP"); var searchvalue = document.getElementById("keyword").value; var …

Member Avatar for Airshow
0
142
Member Avatar for king24

<?php session_start(); include 'forms.php'; include 'config.php'; include 'lib.php'; ?> <html> <head> <meta charset="UTF-8"> <title>Login</title> <link href="css/main.css" rel="stylesheet" /> </head> <body> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"> </script> <script type="text/javascript"> $(document).ready(function(){ $("#check").click(function(){ var username = ("<?= $username ?>"); $.ajax({ url:"ajax.php", data :'username=' +username, success: function(ajax){ $("#ajax").append(ajax); } }); }) }); </script> </body> </html> <?php …

Member Avatar for diafol
0
303

The End.