jquery x 2,329

20,316 Topics

Member Avatar for
Member Avatar for Member #914580

Hello Developers, i have a link structure like this on my website... [CODE]index.php - homepage index.php?section= - other pages[/CODE] here is a piece of code that i wrote to change the colour of the active link... [CODE] $(function(){ var path = location.pathname.substring(1); if ( path ) $('#nav ul#navigation li a[href$="' …

Member Avatar for Member #914580
0
153
Member Avatar for kukuruku

Hi,I am trying to verify form input for length(before that I would like to trim it) How can I do that for user Thanks [CODE]function verify(){ var user=document.getElementById("user"); var pass=document.getElementById("pass"); var msg= ""; document.write("Length "+user.length); if(user.value == ""){ msg+= "Please enter a username!\n"; user.className = "inpBoxError"; } if(pass.value == ""){ …

Member Avatar for HG&C
0
108
Member Avatar for Virangya

hi.. i used this code to display a clock. [CODE]<script type="text/javascript"> var int=self.setInterval("clock()",1000); function clock() { var d=new Date(); var t=d.toLocaleTimeString(); document.getElementById("apDiv1").innerHTML=t; } </script>[/CODE] in firefox it displays like this 7:25:00 PM and in Chrome 19:25:39 i want to show a similar clock as in firefox in Chrome. How can …

Member Avatar for Taywin
0
383
Member Avatar for SasseMan

Hello! I'm trying out an idea I had which requires me to capture the contents of a java window/Frame, much like a screenshot but without the window and menubar, just the contents rendered in java, i.e. an exact image of what is visible in the java application at the moment. …

Member Avatar for harinath_2007
0
153
Member Avatar for tapuwa2002

Downloaded autocomplete plugin. its not bring out results am using an access db. When I type in text it does the search but with no proposed results display in the drop down. Is there something missing? [CODE] <cfsetting enablecfoutputonly="true"> <cfparam name="q" default="" /> <cfquery name="qryGetCountry" datasource="dbtest"> SELECT DISTINCT Cities.RegionCity FROM …

Member Avatar for tapuwa2002
0
227
Member Avatar for r.w.566

hi, im fairly new to najax and i am assuming its similar to ajax, but iv been asked to fix a website which uses it to interact with its database, they upgraded their server from php4 to php5 and the website stopped working, so they asked me to fix it. …

0
63
Member Avatar for prit005

[code] <script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery/jquery-1.4.2.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("#btnclick").click(function(){ $("#para").hide("slow"); $("#btnclick").click(function(){ $("#para").show("slow"); }); }); }); </script> <body> <form id="form1" runat="server"> <div id="para"> <p>The form contains a button to place the final order. In this example, pressing the button returns a simple JavaScript alert(), depending on the contents of the order. In …

Member Avatar for kvprajapati
0
895
Member Avatar for Munnazz

HI, I have a radio button list item. I want to add a new item to it using javascript. Could u please help mee. My radio button list already consists of three items names r1, r2,r3 which is an asp control. But now u want to add a new item …

Member Avatar for kvprajapati
0
101
Member Avatar for calebcook

Hi. I'm trying to make a script which submits the form without refreshing the page. Also, I'd like to have it submit onkeyup. I can't figure out how to do that. Can anyone help me? My code is [CODE] <script type="text/javascript"> $(document).ready(function(){ var $form = $( '#myform' ), url = …

Member Avatar for bloodbender
0
135
Member Avatar for rad1964

I can not for the life of me get an ajax example/tutorial to work. I have tried dozens including prototype library and JQuery. Here is my latest attempt: [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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Easy</title> <script type="text/javascript"> function getXMLHTTP() { …

Member Avatar for rad1964
0
423
Member Avatar for GrinShady

Hi guys, I am still new to JavaScript. In our class we were required to create an application wherein you can dynamically add elements and use them. I don't know what I am missing here. Any ideas? Thanks in advance. Some of the codes are actually based on this link: …

Member Avatar for Taywin
0
178
Member Avatar for sammry

What is wrong with this code in IE, rest of the browsers its working fine, but when it comes to IE, it gives an error popup, Access is denied. Can some one help please. [CODE] var IE = false; if (navigator.appName == "Microsoft Internet Explorer"){IE = true} if (!IE){document.captureEvents(Event.MOUSEMOVE)} document.onmousemove …

Member Avatar for AleMonteiro
0
212
Member Avatar for satilo

I am a final year student ,I have taken up this social network as my final year project. I want to make a video conferencing social network,Much like Omegle, searched the whole internet but didin't found it Is there a way of doing it using java applets,Or through any other …

Member Avatar for peter_budo
0
120
Member Avatar for mehargags

I'm using [URL="http://colorpowered.com/colorbox/"]colorBox[/URL] to show up a dynamically populated Image. I need to show one image as the Thumbnail & when this thumbnail is clicked a lightbox opens and a group of images slide inside it.. ColorBox uses rel tag to group the images that are displayed, I need to …

Member Avatar for KickingHorse
0
295
Member Avatar for dantheman50_98

Hi There, I've come across this interesting web page - to see what I'm talking about, just hover over each image: [url]http://poptech.org/speakers?utm_sour...m_medium=email[/url] Could this sort of thing be accomplished fairly easily with an existing javascript library/script? A jquery script would be ideal if such a thing exists. Thanks, Dan

Member Avatar for AleMonteiro
0
230
Member Avatar for touch_the_sky

Hi, it's touch_the_sky:P I'm a programmer / webdev - Php, Symfony, ModX, markup, css, js, jQuery & more. Here to hopefully help few folks plus promote the jQuery plugin I started working on.

Member Avatar for jingda
0
58
Member Avatar for chiiqui
Member Avatar for AleMonteiro
0
125
Member Avatar for newmaster

Does anyone knows how to group dynamic table rows What I want is: when user chooses same name second, third... times It must add quantity value instead of adding new row here is my code: [CODE] <html> <head> <script language="javascript"> // JavaScript Document function updateSum(formID, nameID, quantityID, priceID) { var …

Member Avatar for AleMonteiro
0
294
Member Avatar for jacob21

Hi, I am uploading multiple file acc. to the limit enter in the textbox. Suppose in a text box if i enter 2,then two browse button can upload two different file having different format 1st file=only jpg 2nd file=only text file I completed all the validation part of both file.what …

Member Avatar for decade
0
83
Member Avatar for babbu

Hi I am looking to set the value of <portlet:param> tag using java script. Here is my existing code [CODE] <form name="frmname" method="post" enctype="multipart/form-data" action="<portlet:actionURL><portlet:param name="page" value="mainview"/></portlet:actionURL>"> [/CODE] And I am setting the value of the portlet:param tag by calling the following javascript on the page load event. [CODE] function …

Member Avatar for babbu
0
538
Member Avatar for calebcook

Hi. I'm looking for a script (in either JavaScript, PHP or both) where you enter the amount of servings you want for a recipe, and it'll calculate the recipe. I can't find a script anywhere! Can anyone help me? To see an example, go to [URL="http://tastykitchen.com/recipes/breads/plain-bagels/"]http://tastykitchen.com/recipes/breads/plain-bagels/[/URL] Thanks!

Member Avatar for calebcook
0
1K
Member Avatar for stranger_on_way

Hi guys, Please help me out. I have a webpage in which there are multiple images. All i want is that when a user clicks on any image it gets displayed on the bottom left corner of the page and when second image is clicked it is displayed adjacent to …

Member Avatar for AleMonteiro
0
272
Member Avatar for Dredgy

Hello. I'm not sure if anyone will be able to help me with this, because I've been unable to find a straight answer on the internet, and I thought it would be something that loads of people would want to do. Let me make it clear I DO NOT WANT …

Member Avatar for AleMonteiro
0
155
Member Avatar for minimogul

[URL="http://www.web-source.net/javascript_disappearing_form_text.htm"]http://www.web-source.net/javascript_disappearing_form_text.htm[/URL] This shows exactly what I want to do but it does not work in chrome localhost the text just stays there. I don't understand why everything is always screwed up in local host :@ . I want to make this with Jquery to make it more accessible for my …

Member Avatar for jsdev
0
324
Member Avatar for vidjin

Hi, I want a Jquery based Ajax solution for Uploading, Cropping and Saving Images... I have been trying to find it for 3 4 days but I am only finding tutorials and solutions with postbacks when cropping images. Please help. thanks

Member Avatar for vidjin
0
167
Member Avatar for SyncMaster170

Hello all, I am wondering is there anyway to get user input without using a textbox? Or is there anyway to hide a textbox and still get user input into and out of it? I need to get user input but am finding it hard to get it without using …

Member Avatar for ddanbe
0
127
Member Avatar for ABUMIN

Im learning to build websites using HTML and CSS i already know that HTML creates a struture and CSS create the layout but what can JavaScript be used for? Also can ActionScript be used too as I already know quite alot of ActionScript. please help.

Member Avatar for DILO3D
0
85
Member Avatar for ABUMIN

I have a question about item list. I'm currently using Dreamweaver in HTML language to build pages.I make all sort of forms and list menu, but about List Menu, I have a problem and that's that when i create a list menu, I'd like to have my initial item in …

0
58
Member Avatar for wolfgangcs

I have a friend with a dinner and he wants to take his iphone and add up how many drinks are being had by each specific person at the bar and store them with date stamps while adding how many drinks they have had total in the life of their …

Member Avatar for Member #120589
0
135
Member Avatar for Vusumuzi

Hi I'm looking for a JavaScript code I could use to rotate my 10 images on 10 seconds interval.

Member Avatar for Ritesh_4
0
58
Member Avatar for keertg

Hai, Currently I'm writing code in ASP.NET using VB language. In my page, In left panel I have set of contents and in right there is a Calendar(Refer attachment CalendarView). I am using jquery (draggable pluggin)Drag Over and Drag Out methods to drag and drop the contents into a particular …

Member Avatar for keertg
0
126
Member Avatar for hiyatran

I can't seem to get my innerHTML to display my content. This works fine, if I was to put it all in one line. [CODE]document.getElementById('addedText').innerHTML = '<table><tr><td>'+"My text goes here"+'</tr></td></table>';[/CODE] If I was to break it up, which I wanted then nothing seem to show up. [CODE] document.getElementById('addedText').innerHTML = '<table><tr><td>'; …

Member Avatar for Anirudh Rb
0
98
Member Avatar for pilipinas

Hi Guys, Can you help me out create a real time quiz. i have no idea where to start so please help me. thanks a lot.

Member Avatar for Member #120589
0
48
Member Avatar for user543820

Hi! I want to create my own list of keywords so that if I write spells of any keyword wrong, it get's underlined like in usual compilers. How can I create a list and create an underline command?

Member Avatar for Mitja Bonca
0
102
Member Avatar for wright67uk

Ive been playing around with a couple of scripts both of which work well on their own. The first is a basic alertbox that uses a hotkey; [Code] <script> $(document).jkey('o', function(){ alert('Pressed o');}); </script> [/code] The second is a custom alert box which displays after clicking on a link. How …

0
157
Member Avatar for hiyatran

.innerHTML is used when you trigger an event but if you just want to display the text how would you go about do it?? I don't want to used document.writeln because it will "[B]Wipe out all the contents[/B]" of that page. So I have some HTML text and javascript text. …

Member Avatar for LaxLoafer
0
189
Member Avatar for cancer10in

Hi Can someone help me find a script similar to the dropdown search as seen on [URL="http://www.oanda.com/currency/converter/"]http://www.oanda.com/currency/converter/[/URL] where I am able to: 1. search currencies from the list. 2. Scroll through all the currencies with mouse and keyboard UP and DOWN keys. 3. Have a custom scrollbar Many thanks in …

0
115
Member Avatar for cancer10in

Hello All I have been struggling since 2 days with this problem and I hope someone can help me out. I want to have custom scrollbars (like [url]http://jscrollpane.kelvinluck.com/basic.html[/url]) for the jQuery UI Auto-complete plugin. Currently there seems no way to integrate custom scrollbars for jQuery UI Auto-complete plugin. So if …

0
136
Member Avatar for Mike_H

I am working on a site that has more menu items than will fit on the screen of standard monitors. I am looking for a nice, simple, and easy to implement free horizontal menu that fits on one line and has left and right arrows to scroll the hidden menu …

Member Avatar for KingGold171
0
251
Member Avatar for ankit.pandey3

Hi friends.... I have an alert message just like [CODE]alert("Hiii");[/CODE] I want to close it automatically as soon as it appears. It means I don't want to show this alert message to client. Can anyone tell how i can do it??? Please help me...... Thanks in advance.....

Member Avatar for Taywin
0
91
Member Avatar for himmat.m4

Hi, In our project I am using ajax with jquery. here I have applied some code of java script on splitting response which comes from server side. This code is working fine for small data. Whenever same application used for large data, script gives problem. This problem is value is …

Member Avatar for himmat.m4
0
142
Member Avatar for Virangya

hi i made an image slider. it loads all the images from the data base using php and for sliding and timing intervals i used javascrpt and ajax. through back end of the systems can edit these images and upload new , update and delete. i want to reflect the …

0
168
Member Avatar for tonydeleon

Hello Can you please help me with this easy cake, On a form I have 4 listboxes listbox1 listbox2 listbox3 listbox4 What I need is to count the listboxes which values selected are = 1. and display the result in a textbox1 For example : if listbox1 and listbox3 are …

Member Avatar for Taywin
0
106
Member Avatar for praveen_dusari

hi, Iam developing the website in ipad,using html5 database and html5 concepts...i am facing trouble in integrating my website which is developied in php and xslt..here we are using soap to get the articles and displaying it using xslt and php...here iam loading those articles in html5 database in php …

Member Avatar for kws.mumbai
0
174
Member Avatar for Vusumuzi

Hello I'm looking for a javascript I can use to rotate my 10 images on 10 seconds interval.

Member Avatar for Vusumuzi
0
111
Member Avatar for Mr. Shannon

Hello, I have been working on a website at my college (not coursework) that uses Pylons and Genshi. To avoid Genshi parsing the JavaScript code in a template I moved the JavaScript to a separate file. The problem is I tried putting the .js file in the templates directory (where …

Member Avatar for Taywin
0
188
Member Avatar for vaitalaziz

Hi ... I'm doing 1 web-system, where login page in .jsp but other functional page in .html where I use javascript to do function. So if user knows any other html page's url then they can browse directly any of those page. But I've to prevent them & send to …

Member Avatar for Taywin
0
324
Member Avatar for piyushsol

[CODE]var val1=document.getElementById("text_1"); var but_val=document.getElementById("button_1"); var but_val2=document.getElementById("button_2"); var but_val3=document.getElementById("button_3"); function click() { alert("the value is " +val1.value); } but_val.onclick=click; function array() { var length=val1.value.length; alert("length is " +length); var newarr=new Array(); for(var i=0;i<length;i++) { newarr[i]=val1.value[i];//this is the MAIN PART textbox value comes here in array supose value is 1234 alert(newarr[i]); } …

Member Avatar for Taywin
0
207
Member Avatar for sharelife

Hi, Sorry for my bad English. I'm trying to get HTML source of this webpage [url]http://priceboard.kimeng.com.vn/webdeploy/HoseBoard.aspx[/url] When I used function 'View Page Source' I get [CODE] ... <div id="divPTableInner" style="width:100%"> <div id="divPTable"><center style="margin:40px"><img src="images/loader.gif" width="32" height="32" border="0" alt="Loading"/></center></div> </div> ... [/CODE] But when I used Firebug (Firefox) to view source …

Member Avatar for Taywin
0
143
Member Avatar for Scott.Atkinson

Hi All, Im in the process of creating a task logging system for where i work, and at the moment im in the process creating a ajaz function where it will return a list of all users depending on what team the user has selected from the 1 dropdownlist but …

Member Avatar for Scott.Atkinson
0
199

The End.