15,694 Topics

Member Avatar for
Member Avatar for green-script

trying to make this script work: <script type="text/javascript"> var tmp='<html><head><title>popup</title>'; tmp+='<script type=text/javascript>'; tmp+='function nowTime(){'; tmp+='var oNowTime=new Date();'; tmp+='var iMonth=oNowTime.getMonth();'; tmp+='var iDate=oNowTime.getDate();'; tmp+='var iYear=oNowTime.getFullYear();'; tmp+='var iHours=oNowTime.getHours();'; tmp+='var iMinutes=oNowTime.getMinutes();'; tmp+='var iSeconds=oNowTime.getSeconds();'; tmp+='var iMilliSeconds=oNowTime.getMilliseconds();'; tmp+='var sNowTime=iHours+":"+iMinutes+":"+iSeconds;'; tmp+='return sNowTime'; tmp+='}'; tmp+='function nowDate(){'; tmp+='var oNowTime=new Date() '; tmp+='var iMonth=oNowTime.getMonth()+1'; tmp+='var iDate=oNowTime.getDate()'; tmp+='var iYear=oNowTime.getFullYear()'; tmp+='var iHours=oNowTime.getHours()'; …

Member Avatar for AleMonteiro
0
745
Member Avatar for boom14

I have a Dynamic table with only showing 10 records and using pagination to show the next 10 records. I want a search function. I follow this guide http://www.vonloesch.de/node/23 But instead I can only search on the first 10 records. Any help is appreciated. Thanks

Member Avatar for pritaeas
0
33
Member Avatar for hwoarang69

iam doing it so that it inside input field it should say "Password". then if user start type in than it should put chars ****. html file <input type="password" name="password" id="login_password" class="login_field" value=""/> js file /*** login page - password field ***/ var password = 'Password'; $('#login_password').replaceWith('<input type="text" value="" name="password" …

Member Avatar for hwoarang69
0
337
Member Avatar for HelloJarvis

Hi all, I'm working on a little project that gives you synonyms for your sentence that uses Twitter Bootstrap. Everything is working all right, but I can't seem to change elements within the Popover! What's odd, however, is that when I used jQuery.length on the desired element, it told me …

Member Avatar for HelloJarvis
0
314
Member Avatar for HunainHafeez

<div> <div style="position:fixed"> <ul> <li><a href="#home">Home</a></li> <li><a href="#news">Profile</a></li> <li><a href="adminViewEmployers.aspx">Employers</a></li> <li><a href="adminViewApplicants.aspx">Applicants</a></li> <li><a href="#about">Super Admins</a></li> </ul> </div> designed a vertical menu in css , it has 4 clickable links HOME APPLICANTS EMPLOYERS PROFILE Now i want that when i click on APPLCIANTS then within this menu it should open 2 …

Member Avatar for simplypixie
0
96
Member Avatar for dreamsky999

Hello DaniWeb Community, I've recently been working on a simple input page for user to key in and then, returns an error if it doesn't match the required input type. However, I've been trying to get them working but they don't. I've 2 pages (author.html & book.html) which send their …

Member Avatar for dreamsky999
0
179
Member Avatar for <M/>

I am trying to style a log in menu that is created by this snippet i have here (generated by javascript): <script> var password; var correctpassword = "DaNiWeB"; password = prompt ('Enter the Correct Password to view this page:',''); if (password==correctpassword) alert('Thank you for properly entering the password, you may …

Member Avatar for <M/>
0
80
Member Avatar for Vijaysurya

Hai everybody, I am uisng * valums/file-uploader i need help in mouseover or mouseup a uploadbutton. after upload a image. anybody plz help me. this code no working. remove this two lines working fine. $("#btnUploadPlanPicture").hover(function() { $("#btnUploadPlanPicture").mouseup(function() { anybody plz help me. $(document).ready(function() { $("#btnUploadPlanPicture").hover(function() { $("#btnUploadPlanPicture").mouseup(function() { var uploader …

Member Avatar for AleMonteiro
0
202
Member Avatar for servis

i want to get the alert on responce text, but getting nothing, my code is as follow, [ICODE] <?php session_start(); ?> <script type="text/javascript"> var xmlHttp function checkCAP(str) { if (str=="") { alert("plase enter the code"); return } xmlHttp=GetXmlHttpObject() if (xmlHttp==null) { alert ("Browser does not support HTTP Request") return } …

Member Avatar for karlosdpm
0
3K
Member Avatar for numele

I have a form which will show hidden <div> on selection of a dropdown menu item. My problem is when the form is submitted, all the hidden <div> form elements are sent. I either need to clear all hidden <div> form fields before submit or only submit the visible <div>. …

Member Avatar for stbuchok
0
254
Member Avatar for McLaren

index.html <html> <body> <head> <!--[if IE]><script src="lib/excanvas.js"></script><![endif]--> <!--<script src="libs/prototype-1.6.0.2.js"></script> --> <!-- <script src="//ajax.googleapis.com/ajax/libs/prototype/1.7.1.0/prototype.js"></script> --> <style type="text/css"> canvas { border: 1px solid green; } </style> <script type="text/javascript" src="libs/jquery-1.7.1.min.js"></script> <!-- box2djs --> <script src="libs/Box2dWeb-2.1.a.3.min.js"></script> <!-- <script src="libs/box2d.js"></script> --> <script src='js/box2dutils.js'></script> <script src='js/game.js'></script> </head> <canvas id="game" width="600" height="400"></canvas> </body> </html> game.js http://pastebin.com/VAJE2tiB box2dutils.js …

Member Avatar for McLaren
0
166
Member Avatar for bvrameshbabu

I came across a weird requirement from my client. Format an integer with leading zeros with out changing its type like below 1 = 01 and not "01" 2 = 02 and not "02" I have searched whole google. But didn't found any way to achieve it. It seems to …

Member Avatar for DavidB
0
152
Member Avatar for amras123

Is this possible? <li><a href="master.php" class="selected"><span></span>Home</a></li> <li><a href="about.php"><span></span>About</a></li> <li><a href="products"><span></span>Products</a></li>

Member Avatar for pritaeas
0
49
Member Avatar for Rizi004

hi the url is localhost/mo/all/iframe.html?city=LHE i want to get the value of city through javascript how i can get this value. thanks

Member Avatar for urtrivedi
0
59
Member Avatar for jspence29

So for my website I am trying to create a more button, and a menu will pop up when I create this. There is a picture of an arrow for more, and a picture of a down arrow for less. I have the javascript code done, but it won't switch …

Member Avatar for jspence29
0
185
Member Avatar for HelloJarvis

I can't select elements within my popover for the Bootstrap framework. I've tried: $("#button").popover({content:"<span id="test">Test</span>", html:true, placement:"bottom"}); And tried selecting the inner span with: $("#test").html("foo"); This doesn't seem to work. Help!

Member Avatar for AleMonteiro
0
3K
Member Avatar for Pervex

HI, Am trying for onload page content from backend(perl) using Ajax .When Tried with simple CGIHTTPServer then, the pages is getting load as required . But as same page i moved to Apache Server , the content are not getting load .Am not getting any error also..:( how to debug …

Member Avatar for code739
0
196
Member Avatar for caige

Your coding skills are needed. my website [Click Here](http://www.kidztar.com)works great in all browsers except internet explorer. On the tour book tab, the java script flips through my book. In internet explorer every other page of the book does not show up. Can you look at the code and help me …

Member Avatar for caige
0
268
Member Avatar for tibor.marias

Dear Everyone! I am building a website which shows in many gas stations the current price. Well, I am stuck a bit, because there are many gas stations around my country, and it wouldn't be a bright activity to keep them freshly every single day. Is there any trick or …

Member Avatar for tibormarias
0
180
Member Avatar for laklaker

Hello everyone! I need help. How do I stop a typing text, how to hide/show a class/id, and load a content everytime a button is press. The problem in my code is it doesn't hide the website, everytime I click the button it always reload the content. Then when I …

Member Avatar for radow
0
318
Member Avatar for asrsmunna

Hi Admin..!! i want source code in php+ajax for a form, in such a way that, suppose i have a form in php, with 10 different fields, when the user fills that form, the fields next to gender should automaically change, like the remaining fields must be different for Male …

Member Avatar for EvolutionFallen
0
228
Member Avatar for numele

When an item is selected in the drop down it will show a text box, but when another item is selected the text box stays and it keeps adding to the end. I need to be able to have only the text box appear that goes with the item. <!DOCTYPE …

Member Avatar for AleMonteiro
0
285
Member Avatar for SMode55

I wrote this script for my validation page.I used javascript and jquery mixed it all up. For some reason when I submit the gender validation doesnt work right, it keeps asking to validate but every other condition works. What I've pasted below is just the gender condition and the "if …

Member Avatar for AleMonteiro
0
967
Member Avatar for xbat

Getting a q is undefined.. I took <option="1">1</option> etc.. and now I'm pulling with ajax from datasrc.. I can't quite figure out how to define my database value.. The one uses query which pulls from the auto start typing.. then it submits to the other page through q - Once …

Member Avatar for xbat
0
425
Member Avatar for chr.s

Hi there, I'm currently working on a site using [Big Cartel](http://bigcartel.com/) - an e-commerce online CMS. This means I'm limited to using their own proprietary language for grabbing data content (no PHP support etc...). I'm also using the [Supersized](http://www.buildinternet.com/project/supersized/) jQuery plugin to try and present present data to the user. …

Member Avatar for blocblue
0
197
Member Avatar for Asan23

im trying to do a mouse over and a onclick swap imag and i cant seem to get the code right and working here is my html 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>assignment 2 cis 154</title> <link href="style.css" …

Member Avatar for radow
1
782
Member Avatar for tiekwebstar

Hy, i am a new here. this is my first post.check this website http://www.abswheels.se/ below slider there is an 3 colunms Marke(Main category) , Modell (Sub Category) and Motor(Sub Category). You can see the default selected menu below slider. When you select other main category than sub category and 2nd …

Member Avatar for bato3
0
2K
Member Avatar for jfunchio

I'm trying to add a file uploader to my website and I was wondering if there is any way or any open source code that can upload a file and the display the contents of the file in an html textarea. This files with most likey be Python or Javascript …

Member Avatar for AleMonteiro
0
198
Member Avatar for priebd1

Hello, I am developing an online operating system and have a set back. Im not sure whether the programs that are launched (ex: text pad, video player, command line, etc.) should be launched within an iframe or built directly into the operating system. If I do the iframe approach, applications …

Member Avatar for AleMonteiro
0
136
Member Avatar for Peek@u

Hello I am having an issue assigning a variable to a select box selection so that i can feed the variable back into future queries. Please see code below: <select name="room" id="msg-room"> <?php $query = mysql_query("SELECT * FROM rooms ORDER BY ROOM asc"); while($data = mysql_fetch_assoc($query)) { ?> <option value="<?php …

Member Avatar for LastMitch
0
141

The End.