14,053 Topics

Member Avatar for
Member Avatar for nasablast

I am trying to create a function that onkeydown(), forces all letters to be capitalized after a comma (",") in a text input field. I know that I can make all of the letters capital using this function: [CODE]function makeUppercase(field) { field.value = field.value.toUpperCase(); } <input type="text" name="city_pairs" id="city_pairs" onblur="makeUppercase(this);" …

Member Avatar for hielo
0
68
Member Avatar for minigweek

Hi Folks, The page on which my userscript will run has a namespace, the namespace defines a constructor function. I would like to create an object using the same constructor and use methods of the object in my userscript. So far I have been unsuccessful. Here's what I am trying …

0
79
Member Avatar for mrlol

Hi guys, I'm new with javascript, so I need help from you guys. Please help me to change date format to yyyy-mm-dd. I've tried few ways but failed. Please download the script here [url]http://www.javascriptkit.com/script/script2/datetimepick.zip[/url] Thank you :)

Member Avatar for mrlol
0
203
Member Avatar for Asimina

Hi guys, i have a for and lets say 4 checkboxes i want to get the values of the checkboxes that are checked & to get the values of the checkboxes that are not checked. so if someone check the A & C checkbox i will get that A&C has …

Member Avatar for essential
0
340
Member Avatar for ben.marks

Hi there, Got a javscript problem that im working on where the validation doesn't do what I think it should. From stepping through the code, when the [B]pound and pence fields on the form are blank[/B], but the [B]name is filled in[/B], it should error at "Please fill in value …

Member Avatar for hielo
0
137
Member Avatar for vuyiswamb

Good Day All I have a web Method defined like this [CODE] [System.Web.Services.WebMethod] public static bool CheckSessionExpiration() { System.Web.HttpContext.Current.Session["CurrentLoginUser"] = null; //This is for Testing Purpose if (UserSecurity.GetLoggedInUser() == null) { return false; } else { return true; } }[/CODE] and in Jquery i have a function that calls this …

0
68
Member Avatar for EMT

I am not getting the difference between the [B][COLOR="Red"]action and onsubmit[/COLOR][/B] tags of the form in html. [CODE] <form method=GET action="xyz.php" onsubmit="return xyz()"> [/CODE] my problem is [B][COLOR="Red"]"which will be called when"[/COLOR][/B] and [B]limitations of each tag[/B].Kindly Help....:(

Member Avatar for pritaeas
0
362
Member Avatar for bello.ojo

Hi all, Please can somebody tell me where to get good tutorials on AJAX and jQuery for beginners.

Member Avatar for McLaren
0
53
Member Avatar for tinker

Please help me solve a problem on passing the value form javascript function to the 'hidden' form and the form will be submitted to the php code for processing the data. Here are my codes below: First i have a link which will trigger the function 'passValue()' that holds 3 …

Member Avatar for McLaren
0
132
Member Avatar for azegurb

hi All. I have taken from internet javascript code that add bb tags to the selected words. but in the documentation of this script it is said that without selecting text it must also add bb tags and when add bb tag at the end of text it automatically closes …

0
54
Member Avatar for mith_cool

hi, am working on a project called online store using java. For the navigation menu bar i used javascript in a jsp page. The problem is am unable to see the image in navigation bar. Since i have no thorough knowledge of javascript please rectify me.Here is my code [CODE] …

Member Avatar for skald89
0
125
Member Avatar for andrewliu

Hello, I'm displaying information, but I'm trying to figure out how to create a button that says "change details" and in the exact place of the displayed information, there will be input fields where you can change details ex: Color : Blue Size : Large (link or button for change …

Member Avatar for AleMonteiro
0
83
Member Avatar for ello

hey guys could anyone quickly show me how I'd go about combining these: [code] $(document).ready(function(){ $("#generate-quote").click(function(e){ e.preventDefault(); $.getJSON("generator.php?", {act: 'char_con', bc: '1'}, function(data){ $(".quote").html(data); }); }); }); [/code] [code] $(document).ready(function(){ $("#env").click(function(e) { e.preventDefault(); $.get("char_con.php?", {act: 'char_con'}, function(data{ $(".q").html(data); }); }); }); [/code] Right now they obviously do different things, but …

Member Avatar for ello
0
117
Member Avatar for McLaren

Hi, I have a button: [CODE]<input class = "save" type="button" value="Išsaugoti" />[/CODE] As you can see the type is not submit, it is just button. This is because I want to not allow submission if javascript is disabled. To submit I run this code: [CODE] $('input.save').click(function() { $('form').attr( 'target', '' …

Member Avatar for McLaren
0
108
Member Avatar for jeraldmuthu

Hi, I'm new bee to JSP.I'm newly joined in company they want to finish this today please help me. I need to check form field contains existing data(want to check database) are not. if that field contain existing data it wants give alert.., In database i set projectcode as Unique.if …

Member Avatar for masijade
0
184
Member Avatar for NewOrder

hi, i have a problem with my code. i am trying to shift pictures as the mouse hovers over the link..but nothing happens! [CODE] <div id="FAQ"> <ul> <b> FAQ <li><a href="#" onMouseOver="document.dadfadsfasdf.src='Answers_14.gif ' ">What does the Bronze membership include?</a> </li> <li><a href="#" onMouseOver="document.dadfadsfasdf.src='Answers_06.gif' ">What does the Silver membership include?</a> </li> …

Member Avatar for NewOrder
0
86
Member Avatar for lisaroy1

What is AJAX?i have heared about it but i dont have any knowledge about it?does it have a good scop?

Member Avatar for Shanti C
0
80
Member Avatar for andrewliu

Hello if my page outputs a certain item number from my database, how do i put that item number into my javascript? [CODE] '<div class="update".$item_id.">'; [/CODE] say i have $item_id and it various how do i put it into javascript code? would it be the same thing? I can just …

Member Avatar for andrewliu
0
151
Member Avatar for aitha

Hai i'm new to the ajax please help me to resolve this my problem. Following is the ajax code i'm using. If the ready state is 4 i'm assinging 1 to 'y'. after that if i'm going to print y it's showing undefined. what is the wrong with my code. …

Member Avatar for aitha
0
156
Member Avatar for krunalkakadia

Hi All, I have req. of converting HTML DIV tag to image using javascript in asp.net. is there any idea how to do it? Thanks.

0
87
Member Avatar for ello

Could anyone just help me out with this. I'm trying to get my AJAX to simply echo what's in my php file when a click a link: AJAX: [code] $(document).ready(function(){ $("#gentest").click(function(e){ e.preventDefault(); $.getJSON("char_con.php?", {act: 'char_con'}, function(data){ $(".x").html(data); }); }); }); <div class="box"> <a href="#" id="gentest">Generate Quote</a> <div class="x">TEST</div> </div> [/code] …

Member Avatar for ello
0
104
Member Avatar for schalkl

Hi Guys The following question is related to the following url: [URL="http://www.sheltonwebdevelopment.com/blog/2010/03/01/calculating-totals-with-jquery/"]http://www.sheltonwebdevelopment.com/blog/2010/03/01/calculating-totals-with-jquery/[/URL] I have just a small question now regarding the dropdown. I am sure its related to an 'id'. Here is my script: [CODE] 1. <td><?php echo "<select name=\"field1\" class=\"qty\" onchange=\"calcTotal();\">"; ?> 2. <?php 3. for($i=0;$i<=50;$i++){ 4. echo '<option …

Member Avatar for Airshow
0
139
Member Avatar for ben.marks

Hi there, I am having a Javascript problem and any help would be apprecated. I am trying to test the input for if length = 1 then add on a 0 as this would mean if the user wanted £1.20 if would come out as £1.20 and not £1.2 as …

Member Avatar for Airshow
0
284
Member Avatar for atzaman

Hi all. I currently have an issue where a javascript drop-down menu I have is displaying below the javascript slide show I have on the same page. I know this issue has something to do with the slideshow part having position:relative but how do I fix it? Works fine on …

Member Avatar for atzaman
0
217
Member Avatar for samsambm

Hello . I'm not sure what is wrong in my code. I'm trying to expand table row to see more details from mysql query . The idea is to click 'show / hide ' link and on that onclick event the row below need to be expanded.Here is my code …

Member Avatar for samsambm
0
765
Member Avatar for Awah Mohamed

hey people . i want to create a a posting system , not the usual one , i want to create a posting system like the wordpress one , it should provide add image and fonts and sizes and it automatically add new lines , i shearched in google for …

Member Avatar for whiteyoh
0
62
Member Avatar for cas22

I would like to somehow get both of these identical slideshow scripts working at the same time. Any help would be much appreciated" [CODE]<!-- dress --> <div class= dress> <div style="position:absolute; background-color:transparent; border-color: #000000; border:0px solid ; top: 443px; left: 346px; width:397px; height:255px;"> <script language="JavaScript1.2"> var variableslide=new Array() //variableslide[x]=["", "", …

Member Avatar for Airshow
0
86
Member Avatar for ana10192000

Hi, I currently created a video uploader, but when the video is too big in size, the page seems to be not doing any until the video is completely uploaded. I want to put somewhat like "loading.. please wait" script until the video is not completely uploaded. Thanks. //Ana

Member Avatar for ana10192000
0
106
Member Avatar for aitha
Member Avatar for codewall
0
45
Member Avatar for skald89

I want to add a + - for collapse and expand all. I would prefer to have them change accordingly but it isnt necessary. this is my javascript var toggleMenu = { init : function(sContainerClass, sHiddenClass) { if (!document.getElementById || !document.createTextNode) {return;} // Check for DOM support var arrMenus = …

Member Avatar for codewall
0
246

The End.