17,115 Topics

Member Avatar for
Member Avatar for feoperro

Hi, After completing a PHP website, with html, javascript and mysql connections - What can I do to ensure good security and what threats should I be aware of? Thanks, Ashton.

Member Avatar for diafol
0
98
Member Avatar for Luckychap

Hi all, I want help from all you wonderful guys. I want to know how can we free memory occupied by an Array. That means all the elements associated with this array should be deleted. let say: [code='javascript'] var bigArray = ["313123", "123123", "sadasd",.........................]; [/code] So which will be the …

Member Avatar for Airshow
-1
368
Member Avatar for serkan sendur

for(var i = document.getElementById("tableId").rows.length; i > 0;i--) { document.getElementById("tableId").deleteRow(i -1); } I had to write this because it took me an hour to find out the error about deleting rows from an html table by javascript. If you do this it generates an error : for(var i = 0; i …

Member Avatar for bertyhell
0
52K
Member Avatar for SiobhanyScot

Looking to do a similar map. Can anyone give me the basics/tips? [url]http://omalley-supporter-map.heroku.com/[/url]

Member Avatar for Airshow
0
73
Member Avatar for Hell Bomb

ok, whenever i make my browser smaller then like 900px wide it will push the footer image to the right but when the browser is nice and big it will display perfectly fine, any ideas? I only put in the css that you should need, but if you want all …

Member Avatar for drjohn
0
426
Member Avatar for silkyheart

How can i randomize the color of each cell using Math.ceil(Math.random())? this is the code: [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <style type="text/css"> body { margin-left: 20%; margin-right: 20%; } h1 { font-family: jokerman; text-align: center; } td { border-style: outset; border-width: 5px; border-color: gray; …

0
55
Member Avatar for yopirates

hey guys i tried using mouseout and mouse over in full calendar .But i am able to get mouseover but then after mouseout is not working .Help me in fixing this issue Try this code in firefox For any other necessary plugins visit :[url]www.arshaw.com/fullcalendar[/url] [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 …

Member Avatar for AlexVercetti
0
12K
Member Avatar for silkyheart

what's wrong with this? >.< [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <style type="text/css"> body { margin-left: 25%; margin-right: 25%; } h1 { font-family: jokerman; text-align: center; } td { border-style: outset; border-width: 5px; border-color: gray; font-family: courier new; } </style> </head> <body> <h1>Multiplication Table</h1> <br …

Member Avatar for @developer
0
180
Member Avatar for murari1011

hellooo... in my website tabs are working in IE i can open and access the tab content..wer as in firefox i am unable to open... the code was in js and html

Member Avatar for Graphix
-1
32
Member Avatar for Cool&Awesome

Hi guys, Can anybody help me on this one...I have a button which when is hovered, triggers an action. But I'd like it to repeat it for as long as the button is hovered. I'd appreciate any solution, be it in jquery or pure javascript - here is how my …

Member Avatar for Airshow
0
144
Member Avatar for ppohlmann

Hello all, I am stuck here with a problem. I want to check if someone enters a negative score on a multiple form page. I want that the edit field is red color if the score is negative. I call htis function with the onblur event input name="pickscorehome" type="text" class="pickedits" …

Member Avatar for Gerbiler
0
117
Member Avatar for BalagurunathanS

Hi Friends.. In my web application(ASP.net), i need to disable the "Back" button in the browser.Moreover i also need to disable the Backspace key in my keyboard when my web page is run..How to do it with javascript..? Someone help with javascript as early as possible.. Regards, Balaguru

Member Avatar for @developer
0
1K
Member Avatar for genzoman

I have a user name, password, phone number etc., that all need to be validated before being submitted. The functions filter out the unwanted characters and null and zero length strings. I did have a pop up that listed the errors but I would prefer them to be listed below …

Member Avatar for genzoman
0
209
Member Avatar for omaiaa0p

Hello Everybody, The good news is, I got the ajax jquery to work fine :) The problem is, I cant get top.location to work right after the ajax call. [CODE]$.post('ajax/test.html', function(data) { $('.result').html(data); });[/CODE] In that piece of code, how do I send (data) from my servlet? Is it in …

0
47
Member Avatar for EZ Fanpage

Hai all, I need help on a simple CSS problem. I'm using the clicktohide and clicktoshow for my fmbl page but it seems that the first page is not showing. The site is here [code]http://www.facebook.com/pages/EZ-Fanpage-Mini-Site-Sample-1/162645693772019?v=app_7146470109[/code] Can anyone help me? I wanted to post the code here but the code is …

0
45
Member Avatar for vishalkhialani

Hi, Below is my code which I am using to remove a div tag. I also want the script to add the same div tag later once certain conditions are meet. The div has some preloaded content too which I don't want to loose. I tried the add() function but …

Member Avatar for vishalkhialani
0
168
Member Avatar for prathameshz

i had developed the site [url]http://www.wooadvertising.in/[/url] . this is the horizontal scrolling website. normaly the website is work properly but when i resize the window all the content in the site mixup.. what i do to solve this problem.. plz check this site by resizing the window. can any one …

0
62
Member Avatar for sagarkalokhe09

I am working on the one project & in that project i have use a link button for navigation & on that click event I use a Response.redirect() method; when i try to navigate in project on localhost server every thing is OK but after deployment in production enviroment i …

0
43
Member Avatar for mklein

Dear all I came across the following very simple code for dragging a square around using javascript. It is drawn on the html5 canvas. Despite being very simple it has certainly exposed some gaps in my pretty flakey javascript knowledge. I am generally ok with the idea of drag and …

Member Avatar for Graphix
0
148
Member Avatar for sadafmukhtar

i m unable to handle jquery accordian i want to bind it to ta database coz m showing lateset events, announcements in it i wanted that the user shuld be able to enter the values in a text box thru a admin panel which i shoud make for him n …

-1
49
Member Avatar for swathiseshan

how can i extractthe value of a javascript variable and use it in a xml stylesheet??

0
40
Member Avatar for ChrisATO

Hello All, First let me acknowledge I am still fairly new to webdevelopment and this site. Thanks in advance to anyone who can help me with this issue and for those willing to try. The PROBLEM: I load into a div on index.php page via AJAX another php page. Once …

Member Avatar for ChrisATO
0
256
Member Avatar for rolyestemonio

Hi guys, I have my code and it works of filtering data by Month and year.But it seems i got a problem when using accordion. i am kinda stack of it. Can anyone please help me out? This is my codes. [CODE] <link href="../_css/getpinoy.css" rel="stylesheet" type="text/css" /> <script src="../_utility/loadFlash.js" type="text/javascript"></script> …

Member Avatar for cossay
0
70
Member Avatar for Gerbiler

I have created an html page that must not have the automatically created url/page number at the top, in the header, or the url/page number at the bottom, in the footer, when you print the page. I know that it is possible because google maps does it [URL="http://maps.google.com/maps?hl=en&ie=UTF8&ll=37.0625,-95.677068&spn=54.269804,79.013672&z=4&pw=2"]http://maps.google.com/maps?hl=en&ie=UTF8&ll=37.0625,-95.677068&spn=54.269804,79.013672&z=4&pw=2[/URL]. So I …

Member Avatar for Airshow
0
135
Member Avatar for sakush100

[ATTACH]18100[/ATTACH] As u can see in this image, i have a link called "Done". The other contents are in an iframe window. These checkboxes are inside a form. What i want is.... when i press done in parent window,the form should be submitted in the iframe window.

0
55
Member Avatar for borillion

Could someone please explain the line dealing with the array options[] array? I was trying to write it out with document.write(options[0]) but I end up with undefined output. Ultimately I would like to assign the values for width and height into it. [CODE] jQuery(document).ready(function($){ var $anchors=$('a[rel="enlargeimage"]') //look for links with …

Member Avatar for Airshow
0
138
Member Avatar for jpgonc

Hello everyone. This is my first post at daniweb and I hope I can contribute to ellucidate doubts and problems and everybody here could help me out to bail out my "perverse" errors. I am making a website and I am trying to load info from a .XML file into …

Member Avatar for Gerbiler
0
82
Member Avatar for omaiaa0p

Hello everyone, I am really struggling with ajax and was wondering if someone could help me send a string as data by jquery's post method to my servlet. My post does not work, and when I try to receive it from my servlet, the whole thing blows up :( In …

Member Avatar for scrappedcola
0
137
Member Avatar for aksshe10

i am using jquery at client end and use this code to send data [ICODE] $.post( "ajax.php", { Name:'doodle', Fathers_name:'anything' }, function(data){ $('#display').html(data.returnValue); }, "json" ); [/ICODE] the thing is that php $_POST['Name'] does not return anything nor does json_decode($_POST['Name']) but when i send data using the same function but …

Member Avatar for vibhaJ
0
82
Member Avatar for methuselah90

good day guys, i have loaded jquery keypad ([url]http://keith-wood.name/keypad.html[/url]) in a block ui modal window ([url]http://jquery.malsup.com/block/[/url]) but sadly it refuses to render in the modal window. has anyone encountered this problem yet? i have tested the jquery pad outside of the block ui modal and it works perfectly fine but …

0
73
Member Avatar for Roymj

Can anyone help me with an ajax script that automatically takes values from a drop down menu and pass it onto another drop down menu.? Both drop down boxes are dynamic.It would be helpful if someone can share a link to a working model of the above. I am using …

0
85
Member Avatar for Dazaa

Hi, I have a lot of checkboxes, for a bunch of illnesses. e.g. Cancer, Epilepsy, AIDS Hepatitus etc. I have put checkboxes in to display a field if one of them is ticked, and the Medical user can make notes on the particular case. But.. I cant hide it again …

Member Avatar for catherine sea
0
162
Member Avatar for youlichika

I had many photos, each photo size is 200 * 150px,each line has four photos,there have 4 lines. When I click one of them, the photo will fadeout with some introduce text, the original array photos will move to the both side of the page.(there should be have a animate …

Member Avatar for Airshow
0
111
Member Avatar for kishou

im just wondering how would i make like a webbrowser in javascript/html? also how would i resize the who entire webpage/webbrowser?

Member Avatar for cobrax
0
101
Member Avatar for JayGeePee

I'm having a little trouble finding any kind of info on how to do what im going to ask. I have a list menu... How would I, or can I with an onclick event display more boxes. Heres what i mean. When someone clicks on cancel account for instance, when …

Member Avatar for Kraai
0
562
Member Avatar for trilithon

Hi All, I urgently need help with a way to view AutoCad (DWG) files online that are uploaded to a webpage. (Similar to the way that [url]http://freewheel.autodesk.com/[/url] works) Thank you Max

0
59
Member Avatar for mini programmer

Hi to all . I write the JS code : [CODE]<?xml version = "1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns = "http://www.w3.org/1999/xhtml"> <head> <title>TemperaturE</title> <script type = "text/javascript"> function temperature() { var temperatureValue = myForm.TemperatureField.value; if ( temperatureValue < 20) {document.body.style.backgroundColor = "Blue";} if (temperatureValue <40) {document.body.style.backgroundColor …

Member Avatar for mini programmer
0
113
Member Avatar for soybean

Hey folks! I'm trying to help fix some IE errors. For some reason Gallerific won't initialize for me here in IE7: [url]http://k-ia.com.hk/beta/projects-resdev-delaguna.html[/url] It seems to me that the JS isn't being properly read at all since the CSS styles aren't properly displaying. Any thoughts on how to fix this? The …

0
43
Member Avatar for vishalkhialani

Hi, I am currently deciding in which technology should I put more time in and learn . I have been working with drupal and wordpress since 4 months and I like the platforms. As for the browser side work I am a bit confused whether I should put more time …

Member Avatar for Frankey
0
155
Member Avatar for Frankey

Hi There, I have found a very usefull and lightweight code that is made by the famous Tim Van Damme, a Dutch compatriot. Here is the code, i will explain my question beneath. The js that works in combination with the js libary. [CODE]<script language="javascript" type="text/javascript"> jQuery(document).ready(function($) { $('.tabs').each(function () …

Member Avatar for Frankey
0
210
Member Avatar for omaiaa0p

Hello everyone, I am trying to understand this concept but its truly confusing. I know that javascript is not server side, but I would like to have an effeicient way to retreive a sessions' value, please inform of any methods, I have tried the following <script> var MyClientSideVar = <%= …

Member Avatar for omaiaa0p
0
152
Member Avatar for IT.Coordinator

I'm in dire need of a Script that changes one text to another text. So like say NEWSPAPERS, is [B]Times Roman[/B] with a 18 font and Bold, I would like a Javascript that changes the text that has 'NEWSPAPER' of any font type and size to change it to "NEWSPAPERS" …

Member Avatar for Graphix
0
746
Member Avatar for Puster

Hello, I have innstalled the jquery lightbox to my webiste and how can i set the max h and w? Pleas help me"!

0
39
Member Avatar for winky

Hey everyone, Brand new to javascript and had a, hopefully, quick question. I have pulled a date from our database in the form of mm/dd/yyyy, and would like to convert this to a Date object type. To do this, I have parsed the string to switch it to the following …

Member Avatar for Airshow
0
102
Member Avatar for youlichika

I need a jqeury animate effection. when I click img1.jpg, img2.jpg will animate right 200px, but I have too many divs and other html elements, I tried many times, it also failed. How to write correctly? Thanks. PS: h1, the font is on the top of image, and b class="effect" …

Member Avatar for Airshow
0
140
Member Avatar for Frankey

Hi there, I am busy with a ajax driven application in combination with Wordpress and now i found a great script that will convert every link into a ajaxlink that will call its content to a div. great, and it works! sometimes :( when it outputs urls like [url]www.domain.com/#/information[/url] or …

0
75
Member Avatar for genzoman

I would very much prefer one that works with IE. My current code only allows for an element to become visible, but I would much prefer if it faded in. Thanks in advance, kids! [CODE]<html> <head> <title>title</title> <script language="JavaScript"> function fncShow() { document.getElementById('box1').style.visibility = 'visible'; } function fncHide() { document.getElementById('box').style.visibility …

Member Avatar for genzoman
0
141
Member Avatar for IT.Coordinator

does anyone know how to do this. Hello, I'm in Need of a Script for InDesign Cs3. I'm not new to programming. I know VB, C++ and Assmbler. I'm rather new to Javascript though, and just don't know all the syntex commands. I would like a script that applies a …

0
68
Member Avatar for jaylou

Hi all, I am adding code to a SharePoint 2007 list where I want a calculated field to be a colored square based on a status column. I have all the code I need to create a colored round bullet, but I would like the bullet to be square or …

Member Avatar for jaylou
0
104
Member Avatar for murtazamzk

[B]<html> <head> <title>New Page 11</title> <meta name="GENERATOR" content="Microsoft FrontPage 3.0"> <script language="JavaScript1.2"> if (document.layers) document.captureEvents(Event.KEYPRESS) function backhome(e){ var targeturl="index.htm" if (document.layers){ if (e.which==104||e.which==72) window.location=targeturl } else if (document.all){ if (event.keyCode==104||event.keyCode==72) window.location=targeturl } } document.onkeypress=backhome </script> </head> <body> <p align="center">Hit The(H) key on your keyboard to send you to a home …

Member Avatar for hielo
0
102

The End.