DangerDev 107 Posting Pro in Training

<c:forEach items="${QantasClubRenewViewBean.membershipQuoteList}" var="membershipQuote" varStatus="status">
<html-el:hidden property="hIndex" value="$(status.index)"/>
<html-el:radio property="renewPaymentSelected" onKeyUp="onTab(event)"/>


Thanks inadvance....

is it html code or some other language code.
if possible please post html code for your radio button along with javaScript.

Please use code tag
DangerDev 107 Posting Pro in Training

Hi,
this is not the Right Place to post your question, please create a new thread in following forum, and post your question:
http://www.daniweb.com/forums/forum117.html

DangerDev 107 Posting Pro in Training

Problem is solved.
I was using MSSQL server 2000,
MS SQL Server Management Studio 2005 cant create diagram with it, you have to use MS SQL Enterprize manager 2000 for that.

DangerDev 107 Posting Pro in Training

^^Alex Edwards
Nice Comparison :)

...one more
GOD = Google Oriented Development.

DangerDev 107 Posting Pro in Training

Hi,

FastCar fc = new FastCar();
        Car c1 = fc;

will be ok.
but what you have done is opposite.
you can assign pointer of object of child class to pointer variable of parent class but cant do opposite directly.
Ex. Whole concept of Stream Zoo in this way.

DangerDev 107 Posting Pro in Training

Please elaborate your question.

DangerDev 107 Posting Pro in Training

Hi,
I want to create a DataBase Diagram using MS SQL Server Management Studio 2005.
But on context menu of DataBase Diagrams Folder, I am not able to see New Database Diagram menu item for any of the Database.
I am getting only two menu item "Working with Sql server 2000 Diagrams" and "Refresh".

Please post suggestions and answers.
Thanks in advance.

DangerDev 107 Posting Pro in Training

Hi,
control panel ->>add or remove program->>add or remove windows component...
here you can see what are the windows component you have installed and you can also install here
but i dont know it will show server or not.

DangerDev 107 Posting Pro in Training

I have called it submit1 and submit2.

yes i got it, i just forgot it, any way thanks,,,
then there is no problem at all, you can check at server side the name of button and on the base of this you can have intended functionality.....

DangerDev 107 Posting Pro in Training

yes it is correct, but when you are submitting how you are making difference at server side(of which button user has clicked), if you have problem in that see my suggested solution....

DangerDev 107 Posting Pro in Training

Hi,
you cant have two submit button on one form, do one thing:
have two simple button< input type="button" value="delete"......> and have on hidden field in form with name "task".On onclick event of these button call a function where you set the value of task="delete" or whatever you want, after this submit the form using javascript.
On server side check the value of task, according to value you take the action( either delete or add or....), one more thing in all cases you'll be having only one php page, where you will perform action according to "task" value.
Have a nice time !!!

DangerDev 107 Posting Pro in Training

Hi,
Compare this code with yours, its working perfactly in my system in IE 6:

<?xml version="1.0" encoding="utf-8"?>
<!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" xml:lang="en" lang="en">
	<head> 
		<title>Chi-Nuh::Ebooks</title>
		<link type="text/css" rel="stylesheet" href="ebook.css" />
	</head>

	<body>
			<div id="container">

				<div id="outer_side_bar">
					<div id="inner_side_bar">
						<ul> 
							<li onmouseover="style.backgroundColor='#003333';" onmouseout="style.backgroundColor='#000'"><a id="hellgate" href="javascript:ebooks('Hellgate')">Hellgate</a></li>
							<li onmouseover="style.backgroundColor='#003333';" onmouseout="style.backgroundColor='#000'"><a id="diablo" href="javascript:ebooks('Diablo: Demonsbane')">Diablo: Demonsbane</a></li>
							<li onmouseover="style.backgroundColor='#003333';" onmouseout="style.backgroundColor='#000'"><a id="wow" href="javascript:ebooks('World of Warcraft')">World of Warcraft</a></li>
							<li onmouseover="style.backgroundColor='#003333';" onmouseout="style.backgroundColor='#000'"><a id="birthright" href="javascript:ebooks('Birthright')">Birthright</a></li>

							<li onmouseover="style.backgroundColor='#003333';" onmouseout="style.backgroundColor='#000'"><a id="queen_of_blades" href="javascript:ebooks('Queen of Blades')">Queen of Blades</a></li>
							<li onmouseover="style.backgroundColor='#003333';" onmouseout="style.backgroundColor='#000'"><a id="artificial_intelligence" href="javascript:ebooks('Artificial Intelligence')">Artificial Intelligence</a></li>
							<li onmouseover="style.backgroundColor='#003333';" onmouseout="style.backgroundColor='#000'"><a id="quake_4tm_mods_for_dummies" href="javascript:ebooks('Quake 4TM Mods for Dummies')">Quake 4TM Mods For Dummies</a></li>
							<li onmouseover="style.backgroundColor='#003333';" onmouseout="style.backgroundColor='#000'"><a id="resident_evil" href="javascript:ebooks('Resident Evil')">Resident Evil</a></li>
							<li onmouseover="style.backgroundColor='#003333';" onmouseout="style.backgroundColor='#000'"><a id="warcraft" href="javascript:ebooks('Warcraft')">WarCraft</a></li>
							<li onmouseover="style.backgroundColor='#003333';" onmouseout="style.backgroundColor='#000'"><a id="starcraft_ghost_nova" href="javascript:ebooks('Starcraft Ghost - Nova')">Starcraft Ghost - Nova</a></li>

						</ul>
					</div>
				</div>
				<div id="outer_main_content">
					<div id="inner_main_content">
						<div id="outer_main_title">
							<div id="inner_main_title">
								<h3 id="ebook_title"></h3>
							</div>

						</div>
						<div id="outer_main_info">
<div id="inner_main_info">
	<div id="ebook_description"></div>		
</div>
						</div>
						<div id="outer_main_links">
							<div id="inner_main_links">
								LINKS HERE							
							</div>

						</div>
					</div>
				</div>
				<div id="promo">
					<div id="inner_promo">					
					</div>
				</div> 
			</div> <!-- End of container div -->
			
			<script type="text/javascript">
			<!--
				function ebooks(name)
				{ 
				
					// Sets the title using the function arguments
					document.getElementById("ebook_title").innerHTML = name;
					

					// Determines what is displayed in the main content area of the page
					switch (name)
					{
						case "Hellgate":
							
							document.getElementById("ebook_description").innerHTML += "<p>2024: Four years after the Demons opened the planar rift known as the Hellgate, mankind's desperate struggle to survive continues. Simon Cross, expatriate of the secret Templar order, works to find and transport survivors out of the …
DangerDev 107 Posting Pro in Training

hi
use javaScript as follows:
<a href="#" onmouseover="javascript:fun1();" onmouseout="javascript:fun2()">Links</a>
where inside fun1() put
document.getElementById("div_p").style.display="block";
and inside fun2() put
document.getElementById("div_p").style.display="none";
where div_p is id of "popup" tag
.....i hope it solves your problem.
if you find to do something like this in IE also plz put here...
have a nice time !!!

DangerDev 107 Posting Pro in Training

Hi,
You will be maintaining data base for each post, along with data base right??
take data from there and while generating the page dynamically put the author name along with post in a div or span tag........
is this thing you were asking ???

DangerDev 107 Posting Pro in Training

images are like binary data, why you want to varify that, you just varify user.....is tahat your question, or you need to elaborate it more ?

DangerDev 107 Posting Pro in Training

did you do like this:

<div id="inner_main_info">
     <div id="ebook_description"></div>	
</div>

its working fine in my system in IE 6

DangerDev 107 Posting Pro in Training

hi,
convert:
<p id="ebook_description"></p>
to:
<div id="ebook_description"></div>

its working !!!
(i dont know the reason :), any way your work is done right? )

DangerDev 107 Posting Pro in Training

can you post that portion of code ?

DangerDev 107 Posting Pro in Training

you can store that object in data base. and later you can retrive it.

why actually you want to do that ?

DangerDev 107 Posting Pro in Training

window.event is supported only in IE not in other browsers.
I guess you'll be calling some function on mouseover to the "Admission"
just post that code.

DangerDev 107 Posting Pro in Training

you can do that using dom apis.
just use-

var new_elem = document.createElement('tag_name');
var elem=document.getElementById("id");
elem.appendChild(new_elem);

this is just a pointer !!!

DangerDev 107 Posting Pro in Training

Hi,
using window.opener you can refer to the window which has created the popup window.

on a particular event use window.opener to refer parent, in popup window.
use
window.opener.location.reload()
to reload the document of parent !!!

DangerDev 107 Posting Pro in Training

hi,
Post your html code also or atleast describe what is prodsearch, and other var used in javaScript.
One more important thing, dont rely upon javaScript alone for validation, write server side equivalent code for that, as any one can alter your JavaScript code and send wrong info to server.

DangerDev 107 Posting Pro in Training

Hi,
Can you please describe your problem properly ?
It will help every one to understand your problem.

DangerDev 107 Posting Pro in Training

Considering your experiance, i think you will be asset to any company looking for c, c++ programmer.

Best of Luck !!!

DangerDev 107 Posting Pro in Training

What is a B-tech? Is it an Indian thing?

yep, B.Tech. stands for Bachlor of Technology.
it is a Engineering 4.5 year Bachlor Degree.

DangerDev 107 Posting Pro in Training

for that you need to use server side scripting.
after submission form will be sent to server, from there a mail will be generated to you.

DangerDev 107 Posting Pro in Training

chances about what?

if you want to become a software professional then B.Tech. will be a good option.

DangerDev 107 Posting Pro in Training

try to use code what i have posted just above your post,
i think you need to give action on form, remove src from iframe.

DangerDev 107 Posting Pro in Training

can you post your code here ?
are you trying like following ?

<form name="form1" action="url_here" method="post" target="hidden_form">
        <input type="text" />
        <input type="submit" value="submit" />
     </form>
    <iframe name="hidden_form" height="0" width="0"></iframe>
DangerDev 107 Posting Pro in Training

yah it means its working now.

.i can see only 3 o4 4 1's...the remaining portion is trimmed.......

thats bcoz you have fixed the width in IE.

but in fireFox we can see as a whole

coz different browser behaves differently !!!

Have a nice time !!!

DangerDev 107 Posting Pro in Training

->Behind every successful man, there is a woman
And behind every unsuccessful man, there are two.


->How come "abbreviated" is such a long word?


->Every man should marry.
After all, happiness is not the only thing in
life.

DangerDev 107 Posting Pro in Training

Hi,
I am testing in IE 6 and opera.
try to test in other machine and other browser also.
try to test just my code without adding any other tag or code. if you are adding post code here.

DangerDev 107 Posting Pro in Training

hi
paste my code as it is in to a blank .html file and run it in IE see the result, if its working means there is a problem in your code.

DangerDev 107 Posting Pro in Training
<html>
<head>
 <script>
   function sendMail()
   {
		var mailId="you@yourmail.com";
		var subject="subject you want";
		var cc="cc@other.com";
		parent.location="mailto:"+mailId+"?subject="+subject+"&cc="+cc;
	}
 </script>
</head>
<body>
<a href="javascript:sendMail()">mail someone</a>
</body>
</html>

above code will open the default email client of the user (e.g. Outlook Express, etc.).

as hunkychop^ said, it will be good idea to use server side script to send the mail.
send data to the server by some means (either by form submit or by ajax) and their you form mail body and send mail.

DangerDev 107 Posting Pro in Training

Hi,
its working fine in IE and opera, just check again.

<select size="1" style="width:50px">
<option>1</option>
<option>2</option>
</select>
<div style="width:50px;background-color:red">
hi
</div>

above code will show that red div and combo is of same width, check if they are of same width or not,
may be you are missing some thing.

DangerDev 107 Posting Pro in Training

as that discussion suggested now no need of using ajax, simple use your previous method just use invisible iframe.
actually i forgot previously that you have to send file not data. so ajax will not work effectively.
any way as discussion suggested use target="hidden_form" attribute where hidden_form is name of iframe, any way you can look in to discussion again.

DangerDev 107 Posting Pro in Training

hi
you try here, may be it will help you to solve your problem.

DangerDev 107 Posting Pro in Training

hi
this is because $result doesnot contain resource.
after $result = mysql_query($query);
put following code

if (!$result) {
    die('Invalid query: ' . mysql_error());
}

it will not allow further execution if $result is null.
if it is so check you $query string by echoing it.

DangerDev 107 Posting Pro in Training

you can't call php function directly from java script, instead use ajax to call a file say abc.php which will call specific function.

DangerDev 107 Posting Pro in Training

hi
here you can find help !

DangerDev 107 Posting Pro in Training

hi
you can see event list for drop down box here.
for showing tooltip you can use div element.

DangerDev 107 Posting Pro in Training

you can get rid of this problem using ajax.
if you are using ExtJS in your application, use it for ajax, or you can write your own function to handle ajax.
basically in ajax you will send and receive data without refreshing the page. so your page will not reload.

DangerDev 107 Posting Pro in Training

you can use combo box for month, date and year.
based on the month selected it will fill the date box.

DangerDev 107 Posting Pro in Training

you can embade html/javascript code in jsp. try to fine how in google.
using div element you can create magic.
see this

DangerDev 107 Posting Pro in Training

Hi,
what's your question ? if you want to put code snippets for others, to help, please go here

DangerDev 107 Posting Pro in Training

use ajax.
dont call web services directly using client side scripting, instead call a web page which in turn calls webservices and return the result.
return result could be in xml format, which is standard. any way that depends on you requirement

DangerDev 107 Posting Pro in Training

hi
use div element, and define following style:

filter:alpha(opacity=50); 
-moz-opacity:0.5; 
opacity:0.5; 
 -khtml-opacity:0.5;

these property is to set opacity.
see ex:

<html>
<head>
<style>
.opec{
	background-color:blue;
	filter:alpha(opacity=50); 
	-moz-opacity:0.5; 
	opacity:0.5; 
	-khtml-opacity:0.5;
	position:absolute;
	color:red;
	height:50;
	width:50;
	left:2;
	top:5;
}
</style>
</head>
<body>
hi this is in body
<div class="opec">
	hi 
</div>
</body>
</html>

similaly other thing also you can design.
remeber left and top is to set the x,y postion of div in screen.

DangerDev 107 Posting Pro in Training

The real danger is not that computers will begin to think like men, but that men will begin to think like computers.
~Sydney J. Harris

DangerDev 107 Posting Pro in Training

Hi
use array of button to make calculator then assign code on button click, on the base of index process the request.

if you are not stick to server side programming you can use javaScript also to make nice calculator.