15,688 Topics

Member Avatar for
Member Avatar for thenvk

I am working on a simple tool for my office.We have a very huge database with 5000 tables. All the tables, Columns and their attributes are stored in to excel sheet. Tool I am designing is for mapping between front end and back end values. Now I will use an …

Member Avatar for Airshow
0
270
Member Avatar for PeterWaij

I want to use two jQuery popups on one page. The problem is that i can't get it to work.[CODE]<div id="popupContact2" class="popupContact"> <a class="popupContactClose">x</a> <h1>Title popup</h1> <p id="contactArea"> sutff goes here </p> </div> <div id="popupContact" class="popupContact"> <a class="popupContactClose">x</a> <h1>Title of our cool popup, yay!</h1> <p id="contactArea"> sutff goes here </p> …

Member Avatar for PeterWaij
0
98
Member Avatar for ivan3510

Hi! Sorry for my bad english! I made an editor. When user passes mouse over the picture, the picture changes color ( Here's code: [CODE] <style> .button:hover{ filter:alpha(opacity=20); opacity=0.2; } .field{ background:#aabbcc; border:1px solid black; } </style> <fieldset class=field> <img src=blablabla.bmp class=button> </fieldset> [/CODE]) I want to make that, when …

Member Avatar for hielo
0
117
Member Avatar for dougalmaguire

I have select list which submits the page and the page is then re-rendered with various fields hidden depending on the value of the select list. There is a button at the top of the page which is causing problems if it is pressed before the page is fully rendered. …

Member Avatar for pritaeas
0
205
Member Avatar for knrakesh

Hello Friends, I am Rakesh, iam facing a problem regarding HTML in PHP page iam pasting the link of error can any one please tell the solution. [URL="http://screencast.com/t/yrFqDdsf"]http://screencast.com/t/yrFqDdsf[/URL] iam unable to understand why its comming so please tell the solution Thanks in Advance

Member Avatar for diafol
0
71
Member Avatar for drewpark88

Hey guys, I have a bit of a problem with implementing an ajax based contact form. I am sure I forgot something...does this almost look right? What do you think the problem is, the form still submits but the page refreshes instead of just sliding the form up and fading …

Member Avatar for drewpark88
0
135
Member Avatar for MatthewRuddy

Hi. I'm trying to create a custom meta box on Wordpress with multiple text fields. The idea is that there is initially one text box, then you can click the button 'Add New' and a another text box is added. This needs to be via Ajax; using Javascript doesn't physically …

Member Avatar for Airshow
0
140
Member Avatar for Saion

When i try to dynamically change the height of an iframe in ie through a java-script to match its content (a html page containing a flash movie), it doesn't resize the iframe at first, but when i reload the same page into the iFrame it resizes as planned, how come? …

Member Avatar for fobos
0
2K
Member Avatar for kidanr

Hello, I'd like to know how to make a div height maximum f.e. 200px. If the height goes above 200px it should come some text saying "View more" or something and then it expands. This I need because I have a page where I will post posts and if the …

Member Avatar for kidanr
0
83
Member Avatar for khurramraja

[CODE]<script language="javascript" type="text/jscript"> function showhide(layer_ref) { obj = document.getElementById(layer_ref); if (obj.style.display == "none") { obj.style.display = ""; } else { obj.style.display = "none"; } } function changepic_menu(arrow) { obj = document.getElementById(arrow); if (obj.src.indexOf("arrow_up.jpg") > 0) { obj.src = "../image/arrow_down.jpg"; } else { obj.src = "../image/arrow_up.jpg"; } } </script>[/CODE] this code …

Member Avatar for khurramraja
0
77
Member Avatar for nikc121

Ok so here is a good one. "Must display an image and three buttons. The buttons should be labeled 1, 2,3 and when pressed each button should changed the content of the image to that of a different image. This is due before MIdnight, and I have tried everycode I …

Member Avatar for Taywin
0
199
Member Avatar for steelshark

Hi, I was wondering if it is possible to create thumbnails automaticly from images when they are uploaded to the server?I would need a seperate file for the thumbnails... Does anybody have any clue of this?I was thinking in the direction of jquery but i dont know for sure :) …

Member Avatar for Taywin
0
80
Member Avatar for ivan3510

Hi! Sorry for my bad english! I want to make HTML editor (editor with tags, like this on daniweb) with tables. Here's the problem: If user writes [TABLE], I made that this replace with <table>. If the user write, eg. [TABLE:BORDER=1;WIDTH:300;], it will change this to <table border=1 width=300> Here's …

Member Avatar for ivan3510
0
85
Member Avatar for kesh1000

please can anyone tell me why this script doesnt seem to work.thankz [CODE]<script> function calculate (){ var age = document.getElementById('age'); var amt = document.getElementById('amount'); var plan = document.getElementById('plan'); var ben1 = document.getElementById('benefit1'); var ben2 = document.getElementById('benefit2'); var yrs = document.getElementById('length'); var ap = (amt.value/yrs.value)+Math.pow((100*Math.sqrt(age.value/(55*yrs.value))),2); document.write('annual premium'+ap); } function checkplan(){ var …

Member Avatar for kesh1000
0
88
Member Avatar for ivan3510

Hi! Sorry for my bad english! I want to make a function that will replace "[LINK=url]Some text[/LINK]" with "<a href=url>Some text</a>". I tried, but the code is too long. Is there any shorter code for this. Here's how I do this (but this code make only first [LINK] into <a …

Member Avatar for ivan3510
0
147
Member Avatar for djcrab

Help yet again guys. I'm having trouble getting the table underneath the <h3> tag "Delivery rates" to show in the right place. Also the "Delivery Rates" is not showing either. This is starting down at line 86. I've tried adding <p>/</p> elements as my book mentions but they do not …

Member Avatar for djcrab
0
98
Member Avatar for adand

I am having a problem sending my form to MySQL on my application page (when you click GameTime! it should send the data to a MySQL table.)-http://www.facebook.com/apps/application.php?id=157666347603790&v=app_157666347603790 It sends the form data here: [url]http://bit.ly/91oi88[/url] however, it just won't seem to work in facebook. Obviously there is something wrong with my …

Member Avatar for Airshow
0
178
Member Avatar for mduncan8

I am working on a website in ASP.NET and I need to run a JavaScript function on page load from a content page and I also have a user control that needs to have some JavaScript executed on page load. I'm new to JavaScript and I'm not completely familiar with …

Member Avatar for Airshow
0
212
Member Avatar for zero_sequence

hi to all... i want to be able to see which pages where visited and from how many users... (Un)fortunately i use rewrite rulez... so the actual url is not the real cfm file ex domain.com/toys/4857-toy-name/ is product_view.cfm?param=4857-toy-name So in a onrequestend.cfm i used the following code in order to …

0
84
Member Avatar for ShubhadaLitke

Hello all, I have same problem. in javascript i called php fun using <?php fun1()?>. it run successfully. But i want to pass variable to that function which is a value of input text box. i.e var tt=document.getElementById('cname'); and i want to pass that tt value to php function. How …

Member Avatar for Gilette
0
2K
Member Avatar for jimbennett57

I'm a newbie to SOAP, and have been searching for an answer with no luck. Hopefully someone can help me out here. I have a VB script which successfully retrieves a SOAP response (xmlhttp.responseText). I can see the response with WScript.Echo, save it in a variable or can save it …

Member Avatar for jimbennett57
0
580
Member Avatar for sunnyday2010

I have a ajax function implementation: when the user is on one site, the ajax call keeps checking the server every 5 seconds if there is a server url change. If there is, there will be a message displayed to direct the user to go to another site. when the …

Member Avatar for Taywin
0
141
Member Avatar for ivan3510

Hi! Sorry for may bad english! How to add a function that will add some text in textarea, when someone clicks on button, where the cursor is? (Like here, on daniweb textareas!) eg. There is bold button! The user clicks on it, and the text "[BOLD][/BOLD]" writes where curser/caret is. …

Member Avatar for ivan3510
0
130
Member Avatar for ivan3510

Hi! Sorry for my bad english! How to delete some text with javascript? Example: I have this in textarea: [LINK=http://www.someurl.com]Link - click[/LINK]. I want that the text between "[LINK=" and "[/LINK]" deletes (output will be "[LINK=[/LINK]"). How to do that?

Member Avatar for ivan3510
0
78
Member Avatar for philmetz

I have the following code that should add a new item to the database table but it doesnt seem to be adding? [CODE] <html> <head> <title>Using Default Checkbox Values</title> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.0/jquery.min.js"> </script> <script type="text/javascript" > $(function() { $(".submit").click(function() { var name = $("#name").val(); var username = $("#username").val(); var password …

Member Avatar for hielo
0
133
Member Avatar for divyakrishnan

Any body knows how to close a firefox new tab window using javascript by clicking a hyper link? I used the following code <a href="" onclick="window.close()">Close this window</a> <A href="javascript: self.close ()">Close this Window</A> It works for new windows .But it will not works for firefox new tabs..

Member Avatar for Taywin
0
90
Member Avatar for nwright

Hi everyone, I'm new to the site and a newbie to js. I have been struggling to find the right solution to validating a username in a form to make sure it is unique. I don't want to use Dreamweaver's validate username because I want the error to appear on …

Member Avatar for Taywin
0
195
Member Avatar for QWaz

Hi, I'm a real javascript newbie, good with php. I am trying to utilize onmouseover, and onmouseout with div's and text. the goal is: when you hover over some text in a <div> it displays other text and then if you hover off it, it keeps the text there. It's …

Member Avatar for Airshow
0
262
Member Avatar for Roy Murphy

Hi everyone, Are there any IE9 quirks workarounds yet? If there are a few clever (and small) workarounds for this could someone please post me a link? As a quick fix I was going to add an 'if' statement to detect IE9 and work in 'mozilla' mode, but my brain …

Member Avatar for Roy Murphy
0
146
Member Avatar for abstrand

I am trying to create a form that will allow a user to update data in a mysql database. I want to call up the record being updated by the use of a select-option list at the top of the form. I have the code necessary to bring up the …

0
83

The End.