jquery x 2,329

20,316 Topics

Member Avatar for
Member Avatar for dwssassin

So I want to show hide various parts of a form based on html form entries and this is what I have so far. [CODE]<script language="JavaScript"> function showhidefield(method) { if (method = 1) { document.getElementById("hideablearea").style.display = 'block'; document.getElementById("hideablearea2").style.display = 'none'; document.getElementById("hideablearea3").style.display = 'none'; } if (method = 2) { document.getElementById("hideablearea").style.display …

Member Avatar for dwssassin
0
182
Member Avatar for braveheart_sb

I would like to know how to create a query that will grab the first two results of the combobox and display on the Third comboBox without refreshing the page just the form i mean all to be done on the same page not a secundary page. Thank you! [CODE=php]<table …

Member Avatar for Daiva
0
109
Member Avatar for ello

Hi there, I need some help actually using the ajax I've got, and defining the url in the ajax [if that makes sense] I've been trying to do it but It's not working atall and I wondered if someone could actualy show me in the code how to go about …

Member Avatar for ello
0
130
Member Avatar for emilyhedgecock

I have a simple html form and i have a small piece of script which validates it, I would like it so that after the validation is carried out, if the return value is true, then the user will be redirected to index.html i have tried several pieces of code …

Member Avatar for Taywin
0
7K
Member Avatar for Bordeaux0113

Hey everybody So I created a dropbox that would only enable certain entries in a second dropbox when specific options in the first dropbox are selected. For example, if A is selected in dropbox 1, then Z and X will be available for selection in dropbox 2, whereas if B …

Member Avatar for Taywin
0
153
Member Avatar for joevs

I am embedding a flash photo gallery object in an html page. The flash gallery has a param "thumbVisibility" that allows you to set the visibility of the thumbnails with the options "NEVER" and "ALWAYS." I have it set to "NEVER" so that the thumbs do not show when the …

0
110
Member Avatar for NH1

I just need to know how to update a time when someone imputs a short version. such as, if i were to put "3a" in the label, i want it to automatically put in 3:00am. Is there any way to do such a thing.?

Member Avatar for NH1
0
93
Member Avatar for mands

Hi guys Im having a bit of trouble with my form, I basically want the values from the checkboxes to output to a div, I also want to give the check boxes a numerical value eg: if monday conference selected that would cost £80 if Tuesday conference selected theat would …

Member Avatar for Dokemion
0
353
Member Avatar for sharonig

Hi, I need to display a table with many rows. I would like to only paint one page and have the scroll bar of the containing div set to the real range. I would also like to listen to the scrolling event and then display the relevant set of rows. …

0
71
Member Avatar for iPeterS

Hi, I'm kind'a new to AJAX, and have not a lot experience with JS, so this might be just a stupid beginners-error... I'm busy creating a PHP-website in which i'd like to implement some dynamic features (like adding comments tot photo's without having to reload, searching a user-DB, etc). I've …

Member Avatar for iPeterS
0
149
Member Avatar for progcomputeach

I'm interested to see how many languages most programmers end up learning and what languages are the most useful or popular. I've seen people talk about Javascript, C, PHP, Visual Basic, SQL, Java, and Python a lot. I thought it would be good to write down a list of programming …

Member Avatar for nicolajoseph1
0
369
Member Avatar for jamesyrawr

ok there's a game i want to try and make an application for using Java i have some knowledge of JavaScript but its only used for drawing pictures and graphs and arranging images :P what i want to do is create an app for a game called tribal wars so …

Member Avatar for peter_budo
0
113
Member Avatar for arungiri_10

how can i clear cookies from browser when ever i change any item from a drop down using javascript.....

Member Avatar for Daiva
0
99
Member Avatar for Lolalola

hi, now i get value if i selected checkbox(id which was selected), but how get value when i unselected (id which was unselected)? For example I push on 1, and i get value 1. When I unselect 1, i get value 1. I hope you understand my problem. [CODE]<script> $(document).ready(function() …

Member Avatar for pritaeas
0
101
Member Avatar for anu3138

hello all, i am having a problem.When i was working in an application without master page and content page, javascript was working finely.But later i needed to use mastr paga in my project.After using master page, javascripts is giving error on call of the function. error is like below. "Microsoft …

0
41
Member Avatar for Smudly

Hello, I've created two form fields (username, password). When a user comes to the page, the word "Username" is shown in the first form field. The word "Password" is shown in the second field. When a user clicks inside the field, the word inside the field erases automatically, allowing them …

Member Avatar for Taywin
0
152
Member Avatar for omega1

hi all, i am trying to have the content of a txt file loaded in a page (which works), but this file changes on a regular basis and I need just the text to refreash, not the whole page, this is what I have... As mentioned, it correctly displayes the …

Member Avatar for omega1
0
1K
Member Avatar for Staggasaurarts

hi everyone, im having some trouble with design im working on. Basically what i want to achieve is when the user hovers on an image, a semi-transparent black box pops up over the image with a description. I have tried a few ways but am now stuck for ideas. My …

Member Avatar for Staggasaurarts
0
214
Member Avatar for Acute

Hi, What i want is: I have a textarea. When user selects some text and presses a button "[smth]" is added to the begin and end of selected text. How can i do this? It must work on all browsers. The same thing makes daniweb when you format a text …

Member Avatar for Acute
0
325
Member Avatar for ello

Hey guys, I'm having some AJAX troubles that hopefully someone can help me with. I have some PHP code, which works fine. And I'm trying to call the PHP function with AJAX. But I've never used AJAX at all so I'm a little confused. I've tried to fiddle around with …

Member Avatar for ello
0
375
Member Avatar for jaycastr

hey huys i have a javascript ajax function that gets the parameter "id". I want to send it via post or get to a php file that gets database info based on the "id" but i cant get the id to transfer over to the php file. here is my …

Member Avatar for jaycastr
0
109
Member Avatar for baruchM

My school assignment is to use browser detect to get the name and variation of a browser. I have been looking for detectible features, but the codes are way long. Document.all is good for seeing if this is explorer 4+, but what is a good thing for finding explorer 7? …

Member Avatar for Taywin
0
154
Member Avatar for theheretic1984

My code gives me an error only the first time when i press the checkbox. If i press it for the second time or just to uncheck the checkbox and it gives me the right answer. Can you please help me, i tried almost everything. I use IE7, xampp with …

Member Avatar for theheretic1984
0
328
Member Avatar for blackoprogue

Ok, so here is what I've gathered together so far. I've got a countdown timer, that at the end of 180 seconds it executes the function clearit. The problem I'm having I would like to put a user chosen variable in place of the 180. Any help would be greatly …

Member Avatar for Taywin
0
85
Member Avatar for cocoll

hello! i need your experience in this: i want to build a web page that i had categories and in each category i have a small pictures and a link named next so when o click "next" i want the 5 small pictures to be replaced with new 5 pictures …

Member Avatar for dnanetwork
0
68
Member Avatar for ApocDen

This is a very simple WYSIWYG Text editor that only has three options Bold, Italic, and Underline. just copy and paste on the page you want it on. it is really easy to add more features. ENJOY

Member Avatar for Taywin
0
378
Member Avatar for vuyiswamb

Good Day All I have a Method that i have defined that i will access in JavaScript(Page Method) and its defined like this [CODE] [WebMethod, System.Web.Script.Services.ScriptMethod] public static void Getadata(String StrSearch) { View obj = new View(); obj.Bind_SearchBox(StrSearch); // return Scriptt; }[/CODE] And the Bind_SearchBox() method is a non static …

0
52
Member Avatar for HFUnited

Hey guys fairly new to PHP as is, I need to run a PHP function call through an onClick which through my research I have found that I need to use AJAX. Let me explain better what I am trying to do. I am currently using Simplepie PHP to pull …

Member Avatar for Medievo
0
500
Member Avatar for vau3677

Hi Guys, I'm trying to make an option on my site where visitor could select certain image(s) to print. Here is the closest code, I've found. [url]http://javascript.internet.com/misce...elds-only.html[/url] I'm not good in Javascript to write the code. I would appreciate any help. Here is my approximate code. <a href="#">Print selection</a> <br> …

Member Avatar for vau3677
0
119
Member Avatar for mohammed2raja
0
62
Member Avatar for ekseks

Here is a code I used for selecting the dates under my specified day (i.e. for all mondays of the month, tuesdays and so on. Take a look: [CODE]$('#dp1').datepick({multiSelect: 5, showTrigger: '#calImg', onShow: function(picker, inst) { var target = $(this); picker.find('div.datepick-month th span').each(function() { $('<a href="javascript:void(0)" class="' + this.className + …

0
66
Member Avatar for videoweb

Unable to close the popup. Have done the best I can Can someone please help me here. Would also like to be able to display without scrolling bars Here is the link [URL="http://www.videowebmastery.com/videopresenters/index.htm"]http://www.videowebmastery.com/videopresenters/index.htm[/URL] Cheers

Member Avatar for dnirvine
0
65
Member Avatar for freiheit

Hello all, I made a custom theme with jquery theme roller.Accordion panel and a tabs panel. The problem is that the objects are not displaying correctly as they should on my page. When i remove the link to my main css file, the jquery shows up exactly as it should. …

Member Avatar for dnirvine
0
57
Member Avatar for Manny7

Hi there, I solve a problem with jQuery plugins. On my page I need to use 3 plugins - the one is lightbox, the next is plugin for google maps. And the last plugin solves scrolling content - I click on the button and on the page shows to me …

0
63
Member Avatar for zahnsoftware

Not sure if this is the best topic to post this question. We had an issue where during uploading javascripts, they became corrupt and no longer executed on the web page. Is there an automated way to detect if the uploaded files match the source file to detect corruption? We …

0
83
Member Avatar for mpc123

I have results of people that i need to compare and echo out. Eg 2x dropdown menus with all the peoples names in and each field then echoed in a table once the 2x dropdowns have been selected. the 2x dropdowns will be the same and have the same names …

Member Avatar for metalix
0
129
Member Avatar for bryanfl100

How do I insert this: <script language="JavaScript" type="text/javascript" src="http://www.ABC.com/members/display.php?token=email"></script> Into the values of this: <input id="Email" name="Email" type="text" size="30" /><input name="emailagent" type="HIDDEN" class="textfield" id="emailagent" value='' />

Member Avatar for Taywin
0
146
Member Avatar for Dark_Omen

Hello, how do you add a custom button to a webpage and link it to another page? ANother question is how can you make the button rollover when someone's mouse is over the button and when they click the button? Would I need javascript? Thanks

Member Avatar for mariko
0
125
Member Avatar for fudgy

I have 10 navigation tabs in my website. Iam working on retaining the selected value from the drop down and should change the corresponding divs throughout the website....meaning based on selected value the content on all the pages should change...which should not let the user to select everytime ... I …

Member Avatar for fudgy
0
206
Member Avatar for phoenix_sdl

I making a form, nothing special, just for myself... so when user loads my form it askes him for his name ( with prompt 'var name=prompt("Your name please",""); ) then says Welcome 'name' (with alert box). THEN he can start filling in the form. What I want is for a …

Member Avatar for phoenix_sdl
0
2K
Member Avatar for SKANK!!!!!

can someone please fix whats wrong with the new problem. i really have no idea how to change it. 2 pages. the problem is when i have the ajax pages and i go to the next page, it doesnt highlight the number im on anymore. and then there was this …

Member Avatar for SKANK!!!!!
0
158
Member Avatar for tizon

Hi guys i have a problem with JScrollPane, Firstly i have 2 custom JPanel's i wanted to add them to a JSplitPane so i added them to a JScrollPane and then those JSplitPane but the problem is if i drag the divider in splitpane the panel doesnot scroll :'( Here …

Member Avatar for tizon
0
1K
Member Avatar for amko

I'm trying to code a play/pause button via Jquery and the Cycle plugin. I'm able to toggle between the two and the "resume" function works, but am not sure how to make the "pause" function work. Any ideas? Thanks in advance for your time! Here's my JS: <script type="text/javascript"> $(document).ready(function() …

Member Avatar for amko
0
161
Member Avatar for Frankey

Hi there, I have a piece of code that should give my category list a nice accordeon effect to show the sub categories. [CODE] <ul class="categorymenu"> <li class="cat-item cat-item-10"><a href="...">cat1</a> <ul class='children'> <li class="cat-item cat-item-11"><a href="...">cat1sub1</a> <li class="cat-item cat-item-12"><a href="...">cat1sub2</a> <li class="cat-item cat-item-13"><a href="...">cat1sub3</a> </ul> </li> <li class="cat-item cat-item-10"><a href="...">cat2</a> …

Member Avatar for Taywin
0
128
Member Avatar for mr_scooby

Have the Javascript function below which takes the name of an input on the form passed as a variable so that 1 function can check many inputs as I have up to 3 fields per form that can accept this data range. [code] function contact_number_check(formObj,field) { var obj = document.forms[formObj]; …

Member Avatar for asmira
0
81
Member Avatar for subhankar02dey

I need to disable and enable some drop down list data according to conditions I have two drop down lists. Say, First ddlist has A,B,C,D,E,F and second ddlist has 1,2,3,4,5. When I select C from the first ddlist, then 1,3,5 should be disabled in second ddlist. And again if I …

Member Avatar for naveenl
0
240
Member Avatar for lionaneesh

[U]Hey Guyz ....This is Aneesh I am new to javascript... and I needed a Sliding Javascript Dropdown Box ....[/U][B] I got many links on the web but with no explanation...[/B] [B][I][U]What I need:-[/U][/I][/B] I need some links with Sliding Javascript Dropdown Box source and explanation... Thanking You... Aneesh Dogra

Member Avatar for Graphix
0
161
Member Avatar for AycheKay

I'd like to find a way to change photos on a website using Javascript or some type of Javascript framework. I think I've seen this done before but I can't recall where. I need the photos to behave like a slide show and change automatically without any user interaction. And …

Member Avatar for Member #334542
0
113
Member Avatar for sharonig

Hi, Is anyone familiar with a Data Pager implementation written in JS? I need to write one (to attach to a JS ListView) and was wondering if there was such a thing already. Thanks, Sharon

0
60
Member Avatar for EricIskhakov

Hello. How can i know which way the thumbtrack event eccured? i mean if the user dragged the thumb up or down? in general i'm having lots of trouble with this scroll bar because it effects 5 textboxes. if anyone can give an example on how a thumbtrack event looks …

0
60

The End.