15,700 Topics

Member Avatar for
Member Avatar for CasTex

Hello, I have a script that like; [code=JavaScript]<script language="JavaScript"> document.write('<input border=0 type=button value='' '); document.write(' onClick = "location.replace('); document.write(' document.stats.site.value + '/');"'); document.write(' value="Search">'); document.write('</input>'); </script>[/code] Works nice. It directs the user to the location that written in the text input. I mean user write a site and the script …

Member Avatar for CasTex
0
1K
Member Avatar for happylondoner

Hi there I need to create three dropdown boxes (box 1:colour, box 2: price, box 3:brand) and when the user presses "GO" they are returned with the correct information, pulled from corresponding fields in my MYSQL database. For example, colour: silver, price £100-£200, brand:samsung...should return 5 items on the page. …

Member Avatar for happylondoner
0
114
Member Avatar for websurfer

Hi, all: I got a form where some checbox fields will hide or show as user clicks specific choices. Problem is, if one mistakenly checks one of these checkboxes and then hides it, it still does retain the checked value, even if hidden. How can I make sure that the …

Member Avatar for websurfer
0
127
Member Avatar for rockaskane

Hi everybody! Lets see if i can explain what i am trying to achieve. i have a form to insert some products into a data base... just a normal form. The hardest part is this. i have a javascript code on a text field that launches a page in a …

Member Avatar for msvinaykumar
0
109
Member Avatar for rodmastar

I am not a java guy.. but made this code ( to open new page sized.. on another page of mine but darn i can not get it to do so on this page? Is it a DIV thing... new to these tags too/// [url]http://www.mastar.com/Presentations.html[/url] Where it say Teamviewer button …

Member Avatar for CasTex
0
161
Member Avatar for veledrom

Hi, I have 3 tables and want 3rd table to appear at the bottom of the page when it is printed off because it will be footer.How can i do it? Thanks [code] <table> <tr> <td>Table 1</td> </tr> </table> <br /> <table> <tr> <td>Table 2</td> </tr> </table> <br /> <table> …

Member Avatar for Airshow
0
116
Member Avatar for k2k

hi, thanks for ppl answered my last thread and i did get that overcome. thanksss big picture: now. last last problem, my program generates 10 random questions with random wrong answers in radio and one correct answer also in radio. when i click checkAnswer it should check the right answer …

Member Avatar for essential
0
189
Member Avatar for cjay175

Hi all, Thanks for any help anyone could give. I am using Jscrollpane to customize my scroll bars. I have the plugin working but what I am wondering is how to implement scrollBy function to scroll by paragraphs. This is what I currently have: Head section script: [CODE] <script type="text/javascript"> …

0
54
Member Avatar for ChrisJ

Greybox, the pop-up window: [url]http://orangoo.com/labs/GreyBox/[/url] I'd just like to know how I can get it to pop-up not in the center of the page. I'd like it to pop-up on the left side of the page. Is that possible? If so can you help me accomplish this? It's ben suggested …

Member Avatar for abhihome
0
92
Member Avatar for CaptainColossal

Hi I have an HTML document with a table that is 3 rows of 3 cells each, that presents 9 flash presentations in those cells. I want to use a pair of radio buttons to toggle the presentations in those cells as follows. The page will load with a "jpg" …

Member Avatar for Airshow
0
136
Member Avatar for Enrico!

Hi, every one....recently i have learn how to delete rows from a table, but i was trying to do it by mean of the row id, and i could do it...so if any one have a wonderful idea..please let me know. please could you also upload the code when you …

Member Avatar for sysel
0
8K
Member Avatar for MJ Pieterse

i'm not sure if this is the correct place to post this, but i have a li menu with a sub menu that uses javascript. my normal code for a menu would be for instance: [code] function mmLoadMenus() { if (window.mm_menu_123456789_0) return; window.mm_menu_123456789_0_1 = new Menu("Tables",80,16,"Arial, Helvetica, sans-serif",10,"#ffffff","#ffffff","#004E69","#C6282B","center","middle",3,0,1000,-5,7,true,true,true,0,true,true); [/code] the …

Member Avatar for Airshow
0
124
Member Avatar for boemboem

Hi, I'm new to Daniweb :) and I have a problem which might be not possible. I want to have a image as bookmarklet. In IE, you have to right click on the image and "save as" favorite or "save as" favorite bar item. [IMG]http://www.twiturl.nl/docu/ie.jpg[/IMG] In FF, you can drag …

Member Avatar for boemboem
0
98
Member Avatar for k2k

say i have: document.writeln("0") document.writeln("1") document.writeln("2") document.writeln("3") document.writeln("4") how i do generate them in different order each time but all of them must display? ... please help ex: .... 1 ........ 3 ...........0 ...........4 ........... 2 then another output would be: ........3 .........2 .........4. .........1 ............0 ... all random but …

Member Avatar for essential
0
136
Member Avatar for lithodora

Form Validation Script: [code]<script language="javascript"> function handler(where){ //check for unusual characters var iChars = "!@#$%^&*()+=-[]\\';,./{}|\":<>?"; var wspace = " "; for (var i = 0; i < where.value.length; i++) { if (iChars.indexOf(where.value.charAt(i)) != -1) { return false; } if (wspace.indexOf(where.value.charAt(i)) != -1) { return "nope"; } } } function emailhandler(where){ …

Member Avatar for foryounow
0
139
Member Avatar for DealthRune

I am using this thread to show an example to a website on my javascript table editer I made. To see the script in action, just put it in one of your text editers (i.e Note Pad, ect... ect...) Description: With this, you can add cells, delete cells, add rows, …

Member Avatar for DealthRune
0
143
Member Avatar for drugoholic

The code below is to validate the email field in my form, if the field left empty the javascript will alert "please fill in your email" and then it'll take you to a blank page that says "false". I don't want that to happen, I want them to re-enter their …

Member Avatar for Airshow
0
173
Member Avatar for punithapary

Hi, In website i am having popup window.Whenever refreshiung the page popup window will come Its working now and i want to move that popup window based on the mouse movement can anyone give some sample code for this thanks in advance

Member Avatar for creativeweb
0
307
Member Avatar for jonow

Is there a way to set up a system there extracts SWFs from a webpage automatically? It would be something were you have a text box and you enter the URL of a page into it. The page contains a SWF. The program goes looking in that page and finds …

Member Avatar for essential
0
126
Member Avatar for servis

i have displayed a button on a page, by which a user may report anything to admin about contents complaint. when user click on this button, it leads to a new page where in a form he fills data & send to admin. now i want when user click on …

0
61
Member Avatar for drugoholic

Hey there, I'm having a javascript problem and I can't really figure this out, some help would be greatly appreciated. I have this custom made html/javascript form that passes the submitted values to another form (iframe) found on another website. All the fields are working except the "Country" field. This …

Member Avatar for drugoholic
0
129
Member Avatar for maicod

Hello, I use javascript to play remote flv videos on my site. But I tried to play videos from youjizz(dot)com using flowplayer and also jw player. The videos are accessable and they are playing fine in FF but if I want to watch them in IE or Opera the player …

0
52
Member Avatar for jaykom

[code]$(document).ready(function() { var childrenEle; function toggleReq() { $('fieldset.fieldsetClass').each(function() { id = $(this).attr('id'); $("#" + id).children().not("div,legend").each(function () { var divEle = $("div").attr('id'); if($(this).attr('class') == 'required') { $(this).css("display","block"); } else { $(this).css("display","none"); } }); }); } function toggleAll() { $('fieldset.fieldsetClass').each(function() { id = $(this).attr('id'); $("#" + id).children().each(function () { $(this).css("display","block"); }); }); …

Member Avatar for mschroeder
0
118
Member Avatar for mehrdad39

I am a beginner (very beginner) in vbscript and am having a problem running the following script. This was a html file that I converted to vbscript. I keep getting the same error no matter what support files (recommended) I put in the same or windows directories. Would someone be …

0
61
Member Avatar for vinpkl

hi all i have two dynamic drop downs of dealer id and category id which work properly with window.location [code] var dealerid; function getList(xyz) { window.location='manage_products.php?category_id=' + xyz; } function getProducts(dealer_id) { var catid=document.form1.category.value; window.location='manage_products.php?dealer_id=' + dealer_id + "&category_id="+catid ; } [/code] but now i want to add static drop …

Member Avatar for essential
0
216
Member Avatar for tefflox

I have no experience with javascript, so I would like to know if it is possible to align a paragraph of text so it is placed in the middle of any browser window, using only html and css. Can this be done without js? If not, how much javascript will …

Member Avatar for michaeli99
0
123
Member Avatar for webCurious

Hello all! I have 3 different links on my main page (main.asp) - X,Y,Z. Link X opens x.asp , Y opens y.asp, Z opens z.asp When clicking on X, x.asp opens in a pop up. When I click again on X, the focus will come to the same pop up …

Member Avatar for essential
0
225
Member Avatar for tanaquil

hi all - i'm new to this forum and would love some guidance on this. i'm using a great script from oreilly for an efficient rollover effect on an image map - highly recommend for anyone needing something like this - link is below - my question is how do …

Member Avatar for tanaquil
0
174
Member Avatar for jcanaway

alright i am working on jQuery - UI Sortable Portlets and im trying to pass serialize on to the php so i can update my database with each displays column, and position so it will save for my users i have what I've done so far below if anyone know …

Member Avatar for jcanaway
0
471
Member Avatar for doclucas

Hi, I have the following search code and want to use prototype js to have it submitted without refreshing the page. I tried a few things, but couldn't make it work, would appreciate any help. Here is the html code: [code] <form method="post" action="quick_stockview.php" name="quickview"> <table border="0" align=center> <tr> <tr> …

Member Avatar for Airshow
0
187
Member Avatar for veledrom

Hi, I just wonder if this is possible. When i print a page from my localhost or web, the html link information is printed at the end of the page. How can disable it? Thanks

Member Avatar for veledrom
0
72
Member Avatar for Xessa

I want to avoid user to press " and ' characters. What must i do in keyup event?

Member Avatar for essential
0
108
Member Avatar for sirge

Hi guys, I have a two functions in ajax; say for example the functions are...function AB() and function BC in my form I have a this textbox which calls the function AB() through onKeyUp event. I successfully made calling the said function, but what if I'll be calling the two …

Member Avatar for ShawnCplus
0
103
Member Avatar for Xessa

Hi. I am Turkish. When the text is written in Turkish, some characters are double bytes in the database. Is there a shortcut to find these characters? Will checking if the high byte of the character is not 0 will work?

0
63
Member Avatar for jaykom

Hi folks, My example markup as follows [code=html]<fieldset> <input type="text"></input> <input type="text"></input> <select></select> </fieldset> <fieldset> <input type="checkbox"></input> <input type="text"></input> <select></select> </fieldset>[/code] I want to collect all the child elements inside this two fieldset elements through looping, folks please help me out

Member Avatar for essential
0
268
Member Avatar for franko75

Hi, i'm setting up a couple of forms on the admin section of a CMS i'm developing. I want to use (unobtrusive) modal forms using JQuery, but I'm not sure how to return error messages/feedback from the server and display them [B]within[/B] the modal window. So this is where i've …

Member Avatar for Airshow
0
93
Member Avatar for Wolverine68

I am new to AJAX. I'm trying to write code that will extract from an XML file and then display the results. Keep getting a syntax error. HTML: [CODE] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Extract Data from an XML file</title> <script type="text/javascript" language="javascript"> <!--The object …

Member Avatar for essential
0
166
Member Avatar for Xessa
Member Avatar for Xessa
0
86
Member Avatar for yilmazhuseyin

Hi I am working on a little project I'd like to call post database and I got a little problem. when user clicks a page number, I bring html content from server and add it to page. And I can see the new content on the page. But if new …

Member Avatar for yilmazhuseyin
0
365
Member Avatar for rahuls2930

Hi, I have a main div with a fixed width for which the overflow is set to hidden. Inside that there is a content div which can have variable width depending on the number of its contents. Each content has an image and some text. There may be 100 s …

0
50
Member Avatar for 7gakki

Anybody can help me? Why [url]http://placesnap.com/recent_ie.asp[/url] not working in IE? In firefox, that page working good

Member Avatar for yilmazhuseyin
0
88
Member Avatar for crimsondarkn

Basically, I have a bunch of input rows, each with id in the form of something like.. item:characteristics:age or item:setting:type1:blah. It's kind of like going down folders to get to the item I want. So as you can see in the code, I am splitting each id and trying to …

Member Avatar for Airshow
0
297
Member Avatar for gagan22

Hi all, Actually i want to two link in my page using ajax. Let me explain the problem: Like my site have three page in which about me, contact me and personal info are three page . All these three page are connected with database and fetching some information from …

Member Avatar for yilmazhuseyin
0
126
Member Avatar for Xessa

I have 3 textboxes names myTextBox1 myTextBox2 myTextBox3 onblur i want to check if the value of the checkbox is true. I have a function in my js file. [code] function isNumeric(myString) {.......} [/code] In my JSP file i write; [code] onblur="isNumeric(X)" [/code] I wrote everything and it does not …

Member Avatar for itsjareds
0
100
Member Avatar for zido85

i have this code, im using jquery which im not very familiar and i need help please:D [code] <html> <head> <title>Select and drag?</title> <style type='text/css'> body,html { color:#333; font-family:Calibri; font-size:11px; } .panel {float:left;width:200px;margin:20px;} ul { list-style-type:none; border:1px solid #999; background:#ccc; padding:20px; min-height:150px; width:100px; } li { display:block; border:1px solid #999; …

Member Avatar for Josh Connerty
0
2K
Member Avatar for Gary888

Hello, This is a JavaScript/PHP question so I will go ahead and post it here. I would like to know if it is possible to access (in a PHP class) a value/variable that has been returned by a JavaScript function. The function is in external .js class. Here what I …

Member Avatar for Gary888
0
2K
Member Avatar for blindkilla

Well im trying to get my form to post data to a php file and get back the result. For some reason its not calling mail.php, but instead it just puts all the post data in the current url like [code]somesite.com/index.php?id=value&id=value..etc[/code] instead of [code]somesite.com/[B]mail.php[/B]?id=value&id=value..etc[/code] here is the ajax code [code=javascript] …

Member Avatar for Airshow
0
333
Member Avatar for servis

is it possible to use the xmlHTTP.responseText in any other java function, after execuation of stateChanged() function??? example in ajax... [ICODE] function stateChanged(){ if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete") { var result = xmlHttp.responseText if (result.length=="0"){ var task = "do"; //i want to use "task" in other js function return task; } …

Member Avatar for essential
0
445
Member Avatar for Loyen

Hello fellas, long time no see. :) I am getting into jQuery a bit these days, and I was wondering, how do I make a function, which shall be reusable more than once, which shall be making a popup window come up and position itself under the clicked item aligned …

Member Avatar for Loyen
0
75
Member Avatar for itsjareds

I was helping a friend fix some issues with her iPhone connecting to a JavaScript-heavy (and buggy) site. Long story short, her iPhone cannot type brackets ([]), and I need another way of getting the first element in an array. I thought there might be a javascript function like first() …

Member Avatar for essential
0
161

The End.