3,446 Topics

Member Avatar for
Member Avatar for nunos

Hello all. Even though my javascript/ajax knowledge is very low, I would like to be able to do the following, for which I ask you for help: I have a python script that runs from php with exec command. It takes about 5-10 seconds to complete. While the python script …

Member Avatar for twiss
1
1K
Member Avatar for jeffcogswell

Back around 2004 and 2005, I had embarked on a web project that included the ability for my users to draw on a web page—or at least, that was one of the requirements. At the time, most of my web development had been server-side, with very little JavaScript. Long story …

Member Avatar for arnavbhatkar
1
940
Member Avatar for jackparsana

hi, please help me to do this. i want to display one panel on top space. and i want one button on that panel to close itself. please help me. thanks in advance Jack

Member Avatar for jackparsana
0
314
Member Avatar for OSM101

I am using jQuery Dialog to show dialogs when preforming insert, delete and update operations in a GridView inside an UpdatePanel. The problem is that there is a repetition when preforming more than one operation. For example, when updating a record on the page for the first time, it only …

Member Avatar for stbuchok
0
130
Member Avatar for ispeakbinary

[CODE] <script type="text/javascript" src="js/jquery-1.3.2.js"></script> <script type="text/javascript" src="js/jquery-1.3.2-vsdoc.js"></script> <script type="text/javascript"> $(function() { $("#Button1").click(function() { $.getJSON("ticketPriceInArray.js", function(json) { var ticketPriceArray=[json.tickets[0].price, json.tickets[1].price, json.tickets[2].price, json.tickets[3].price, json.tickets[4].price, json.tickets[5].price]; alert(json.tickets[0].type); var inputWord =$("#keyword").val(); if (inputWord=="A"){$("#result").text(ticketPriceArray[0]);} if (inputWord=="B"){$("#result").text(ticketPriceArray[1]);} if (inputWord=="C"){$("#result").text(ticketPriceArray[2]);} if (inputWord=="D"){$("#result").text(ticketPriceArray[3]);} if (inputWord=="E"){$("#result").text(ticketPriceArray[4]);} if (inputWord=="F"){$("#result").text(ticketPriceArray[5]);} }); }); }); </script> [/CODE] Here is "ticketPriceInArray.js" [CODE] { "tickets":[ …

Member Avatar for twiss
0
179
Member Avatar for sacredgrim

Hey all I have an issue with building a list of images. Below is the structure i would like to build. basically i am trying to write a script for xsl in xslt or Javascript to read all files in a folder(will only have images in, so no checking will …

0
85
Member Avatar for Tenaciousmug

I'm trying to SELECT * FROM table WHERE gender='whatever they clicked on'; WITHOUT refreshing the page. I am showing the gender table and then after the click a gender, I hide that table and then show the next, etc. It's working fine, but whenever I start using the AJAX to …

Member Avatar for vibhaJ
0
95
Member Avatar for Pinchanzee

I've got lists of links which change order when you click the "most" or "least" buttons, have a quick look at it, easier to understand: [url]http://pinchweb.com/browse/[/url] The problem is, I see a lot of repeated code, which seems pretty inefficient. There's 4 filters - leastrec (least recent), mostrec, leastpop (least …

Member Avatar for Airshow
0
243
Member Avatar for sunny124

Hi guys, I am trying to get contents of a page into a popup div when user clicks on the View sample plan link in the table with the id='plans' below. I will change the contents of junk.php once I can get it working. Thanks to everyone who can help …

Member Avatar for sunny124
0
2K
Member Avatar for scarlettmoon

Hi ~ I am trying to keep two children windows open at the same time as the parent. Umfortunately while opening the link to the second child window the first one minimizes. Is there a way around this? I have tried focus() on the second and not the first - …

Member Avatar for stbuchok
0
265
Member Avatar for nats01282

Hello im creating a small social network from scratch and struggling with the newsfeed i have the newsfeed loaded through ajax then page loaded remotly i have a timeago jquery script and the timeago script is not working, but when i get rid of the ajax auto refresh and use …

Member Avatar for ko ko
0
191
Member Avatar for Aksel

Hi guys, I'm still pretty new to javascripting so be gentle I hope you guys can help me out a little on this one. I'm creating a page where I load some of my contents through ajax calls. In the returning content I'm trying to access some jquery features (lightbox …

Member Avatar for Airshow
0
193
Member Avatar for scarlettmoon

Working with javascript / jquery - Need to have a more precise regex for the following pattern: Should I have the ignore case included? If so where? X25b777s44K The regex I have: ^([A-Z]?)(\d{2})([a-z]?)(\d{3})([a-z]?)(\d{2})([A-Z]?)$ Thank you for your help.

Member Avatar for scarlettmoon
0
163
Member Avatar for Violet_82

HI there, I wonder if anybody can give me a hand with this. I am writing a script which will allow me to swap some images (using also jquery to give the fading effect) but things are not quite working the way they should. I am really new to javascript …

Member Avatar for Airshow
0
174
Member Avatar for exotic_ang

Hi guys, Id like to use Sliderman in my site as an image slider. I downloaded the code, added it to my site and arranged what I could see needs to be arranged but I cannot get it to work properly! Image1 attached is how it is supposed to look. …

Member Avatar for twiss
0
122
Member Avatar for jeffcogswell

I've been using jQuery for a few years now, and the more I use it, the more I like and appreciate it. It seems like I'm always finding new ways to use it, and usually those new techniques result in me writing less code and ultimately being more productive. On …

Member Avatar for twiss
2
584
Member Avatar for Braden0007

hello can somone please tell me why i cannot submit this twice i have a php form doing the validation and mailing but if there are errors in the form filling out it will send back an errorand tell them to fix it, without refreshing the form. the problem is …

Member Avatar for twiss
0
212
Member Avatar for Buppy

Hello, I have a JS/jQuery based date picker - calendar. The algorithm itself is simple - a Calendar class that generates calendar, several methods for year/month change, etc, nothing that special. Since i have several independent date fields in the page, i am creating several independent calendars, for example, var …

Member Avatar for stbuchok
0
105
Member Avatar for ttchiwandire

Hie good friends! I have got a Jsp form for creating a database record for students. The form has got a drop down box for Countries, but the countries are too many that a user may spend a lot of time scrolling to locate his/her country. The drop down is …

0
52
Member Avatar for scarcella

Hi guys i was wondering if you guys could let me know how i can post a form field using jquery and then be declared in a variable after post. The code for the html: [CODE]<table cellpadding="0" cellspacing="0"> <tr> <td></td> <td>Name:</td> <td>Email:</td> </tr> <tr> <td><label for=fri accesskey=f>Friend 1</label></td> <td class="tablePadding"><input …

Member Avatar for scarcella
0
175
Member Avatar for think360studio

I do not have much experience with design, but I am trying to create a somewhat disjointed effect in CSS. I have text that serves as a link with an image next to it. I want a border to appear around the adjacent image whenever the linked text is hovered …

Member Avatar for twiss
0
146
Member Avatar for deepak777

i am trying to use a jquery selector. There are 10 divs in my page. each div has a submit button which has attribute called post and its value varies from 1 to 10. so when first submit button is clicked i want to alert the h1 in the first …

Member Avatar for twiss
0
53
Member Avatar for ashley2011

Will someone please help me out in javascript, jquery, and css? I really want to use this menu at this web page: [url]http://designreviver.com/tutorials/jquery-css-example-dropdown-menu/[/url] However, I would like to have this menu as a multi level menu. Currently it is two level. How to make this menu as three or four …

Member Avatar for twiss
0
55
Member Avatar for doctorphp

Hi everyone. I am having some trouble with my PHP and jQuery. [CODE] <script> function solveError(id) { $('#loading').html('<img src="resources/images/loading.gif" width="16" height="16" />').load('solve_error.php?id=' + id + ''); } </script> [/CODE] And here is the PHP [CODE]<a href="#" title="Solved" onclick="solveError('<?php echo $error['error_id']; ?>');"><img src="resources/images/icons/tick_circle.png" alt="Solved" /></a>[/CODE] When I get rid of the …

Member Avatar for doctorphp
0
124
Member Avatar for ari$av3s

Hi! I am looking to make an adjustment to this script. I'm trying to find a way to do it as neatly as possible, and without breaking any pre-existing functionality. The code is here, with its corresponding tutorial: [URL="http://tympanus.net/codrops/2011/03/28/moving-boxes-content/"]http://tympanus.net/codrops/2011/03/28/moving-boxes-content/[/URL] What I'm trying to do is have the first section open …

Member Avatar for Airshow
0
195
Member Avatar for hawx

I am trying to create a basic a accordian style menu. Im guessing i have done 90% of the code, but a little stuck now. I have three widget and what I am attempting to do is hide all the widgets apart from the one actually clicked. My code so …

Member Avatar for vibhaJ
0
78
Member Avatar for samarinder

I am stuck in quite a tricky problem, That is - My session which contains username is getting invalidating on page refresh in Firefox Mozilla. Same is working fine in IE-9 I am pasting the code of both header and index.jsp file. [U][B]Header.jsp[/B][/U] [CODE] <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%> <%@ taglib …

Member Avatar for samarinder
0
1K
Member Avatar for wasifbinrashid

hi, i want to build my final project in asp.net using c# database as SQL server 2005 interface as Xhtml,Ajax,jquery and javaScript i want some cool ideas which are uniqe and unsean thanks

Member Avatar for matthewskyle
0
145
Member Avatar for hawx

I am trying to create a basic a accordian style menu. Im guessing i have done 90% of the code, but a little stuck now. I have three widget and what I am attempting to do is hide all the widgets apart from the one actually clicked. My code so …

Member Avatar for hawx
0
92
Member Avatar for mm_89

Hi all, well I do not know where to start, I developed ASP.NET websites before but did not use any of the known designing tools. O just made it with a simple design using Visual Studio Toolbox . Now I have a new project where a lot of design is …

Member Avatar for jbisono
0
126
Member Avatar for Violet_82

Hi there, I am trying to create an image gallery on my home page [url]http://www.antobbo.webspace.virginmedia.com/photography/home.htm[/url] which gets displayed in the canvas. Ideally I would like to add some jquery to have a smooth transition between the images but I am getting a bit lost. First of all I want to …

Member Avatar for Violet_82
0
111
Member Avatar for navi17

[CODE]<form method="POST" action="https://www.thewiseagent.com:443/secure/webcontactAllFields.asp" name="myForm" onSubmit="return chkForm(this);"> <!-- Do not change --> <input type="hidden" name="ID" value="67,176,210,31,93,194,29,70,235"> <!-- These fields can be edited --> <input type="hidden" name="responsePage" value="http://http://www.expertforyou.com/"> <input type="hidden" name="Source" value="website referral"> <input type="hidden" name="Categories" value=""><!-- semicolon;delimited no spaces --> <input type="hidden" name="currentUser" value=""><!-- internal team member --> <input type="hidden" name="ProgramID" …

Member Avatar for Kannan R
0
225
Member Avatar for BlackKite

Hi! I can't seem to figure out what I'm doing wrong with this no matter how many things I try. I've looked through Google for a related issue but found nothing specific. Hopefully someone can help me. The script runs through a external .js file calling a list of music …

Member Avatar for BlackKite
0
206
Member Avatar for realnsleo

Hi everyone! I am looking for a jquery plugin that moves a whole page horizontally, diagonally or vertically like the one here: bulamu.net any help is highly appreciated!

Member Avatar for TySkby
0
165
Member Avatar for buymypies

So the scenario is on my page I have a form along with a countdown timer. If the countdown timer reaches 0:00 I have a statement which activates and is supposed to submit the form as it stands. here is that statement: [CODE] if (Todays_Date >= Target_Date) { clearTimeout(timeoutID); $('#testForm').submit(); …

Member Avatar for TySkby
0
142
Member Avatar for genzoman

I have an array of list boxes. I need them to become disabled if the first one is checked (with an id of disabler_0), and I need them to be enabled if that box is unchecked. Right now it doesn't work. I know I'm close, but I can't figure it …

Member Avatar for twiss
0
161
Member Avatar for j_cart007

Hi I've been working on a Javascript Image slideshow where the user can apply image effect(s) to the slide(s) while the slideshow running. Now the problem is when I apply effect to the image it works but when the loops starts again the image effect shows on previous image, for …

0
90
Member Avatar for genius_cd

Hey Guys, I've been searching a lot! and months for a solution for that specific problem !! please help . if anyone can figure it out! :S:S i have that code: [code]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Digital Surveillance system</title> <link rel="stylesheet" …

Member Avatar for Arkinder
0
146
Member Avatar for newbie14

Dear All, I have a page at this link [url]http://183.78.169.54/v3/addTab.php[/url]. Then you can click the Driver Employment tab and add just two rows and press the Add button. Then it will take to Driver Details and show all the fields are required. The problem here is that the Driver Employment …

Member Avatar for Airshow
0
660
Member Avatar for fantasma

Greetings! I'm having a problem showing a set of records using jQuery. When I click in the designated link, the script only shows the first record that comes from the database. Am I doing something wrong? Here's the code jQuery [CODE]$(document).ready(function() { //hides the slickbox as soon as the DOM …

Member Avatar for fantasma
0
121
Member Avatar for kpsbhuvi

Hai friends I am creating a file upload process, In that process I want to validate whether uploaded file contents are empty or not... i want to validate txt, doc, pdf, xls , ppt, docx, msg these extension files. when a .doc file is created then it has the file …

Member Avatar for tawes01
0
628
Member Avatar for aidant

So, when i click a button my jQuery dosent change the value of the div, this onaly happens in safari in all other browsers it works! Javascript: [CODE]$(document).keypress(function(){ if (event.keyCode==13) key('='); if (event.keyCode==42) key('*','x'); if (event.keyCode==43) key('+','+'); if (event.keyCode==45) key('-','-'); if (event.keyCode==46) key('.'); if (event.keyCode==47) key('/','&divide;'); if (event.keyCode==48) key(0); if …

Member Avatar for twiss
0
117
Member Avatar for t_anderson

hi i'm using this inline modal window [CODE] <style type="text/css"> #fade { /*--Transparent background layer--*/ display: none; /*--hidden by default--*/ background: #000; position: fixed; left: 0; top: 0; width: 100%; height: 100%; opacity: .80; z-index: 9999; } .popup_block{ display: none; /*--hidden by default--*/ background: #fff; padding: 20px; border: 20px solid …

0
88
Member Avatar for benjaminFowl87

Hi My problem is. I'll break down the problem to make it clear. [CODE] <html> <head> <body> <!-- ajax call that opens a jQuery UI Dialog box --> <a href="#" onclick="$.ajax({beforeSend:function(request){$('#onboarding_accounts').show();}, complete:function(request){$('#onboarding_accounts').hide();}, data:'', dataType:'script', type:'post', url:'/proxy/account/load_create_account?method=get'}); return false;">Create New Account</a> </body> </html> [/CODE] It should be noted that the dialog …

Member Avatar for benjaminFowl87
0
1K
Member Avatar for gambit_1607

hi i'm using a jQuery Inline Modal Window. the code for it can be found here [url]http://www.sohtanaka.com/web-design/inline-modal-window-w-css-and-jquery/[/url] i currently have an array within a function in javascript. when i click on the appropriate link for the inline modal, the inline modal window appears. my function looks something like this [CODE] …

Member Avatar for gambit_1607
0
160
Member Avatar for newbi11

i came across a jquery slide out menubar here [url]http://tympanus.net/Tutorials/UIElements/SlideOutMenu/[/url] . its a mouse over menu bar made with jquery . however i would like to know if the slide out can be brought out through a click rather than a mouse over . here is the source : [CODE]<!DOCTYPE …

Member Avatar for kekkaishi
0
220
Member Avatar for thekiddy

I am selecting an image as part of a html form. Once selected, jQuery assigns a user-defined attribute of the image to a hidden form variable and passes it to form handler. Neat. Problem is when I dynamically add images that can be selected. I am using live function to …

Member Avatar for Airshow
0
678
Member Avatar for gogreen1

i have seen resume's of many developers they had put expert in JS and Jquery .is that they will right the script form the scratch or they will download and customize to their requirements ??even i known this ..so shall i put JS and Jquery in my profile.?

Member Avatar for javaAddict
0
65
Member Avatar for xiiopao

hi there guys :) im currently working on a project with jquery... the thing is.. i need to change the contents of a div named "sub2" with the contents of "pets.html"... i've read some tutorials and i thought the best way to do this is through the use of jquery... …

Member Avatar for Airshow
0
133
Member Avatar for Nimerion

Hi! I have a problem with a small effect. The idea is to dynamicly change the pages in a single box, and the header and the footer of the main page to hide or show the box with the information. That's the idea.. [CODE] <?php session_start(); require "config.php"; ?> <!DOCTYPE …

0
80

The End.