Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 46
Search took 0.13 seconds.
Search: Posts Made By: Philosophaie
Forum: JavaScript programming 03-05-2013, 03:02 PM
Replies: 1
Views: 155
Posted By Philosophaie
Javascript in ASP.net

How do you run a Javascript program in ASP.net 4.0 controls.

The old way:
<input id="Button1" type="button" onclick="program();" />

or

<body onload="program();">

ASP.net controls do not...
Forum: JavaScript programming 03-01-2013, 01:48 PM
Replies: 1
Views: 193
Posted By Philosophaie
Increment Textbox using Javascript

Trying to increment Textbox3 using Javascript in ASP.net.

Not sure how to input a textbox value to count:
document.getElementById("<%=TextBox3.ClientID%>").value

Here is the code:

<script...
Forum: JavaScript programming 02-27-2013, 02:33 AM
Replies: 15
Views: 340
Posted By Philosophaie
Would it not be: ...

Would it not be:

TextBox1.value=thisfunction(aname);

Where would you put it?

Not in Page1.aspx.vb it does not work there.

Not in Javascript.
Forum: JavaScript programming 02-27-2013, 02:14 AM
Replies: 15
Views: 340
Posted By Philosophaie
What happens if: <script...

What happens if:

<script type="text/javascript">
function thisfunction(name)
{
if ( name == null ) { name = "notGiven"; }
var names1 = name + "1";
Return names1;
}
</script>
Forum: JavaScript programming 02-27-2013, 01:11 AM
Replies: 15
Views: 340
Posted By Philosophaie
Print out int a textbox

Simple question.

I am working with ASP.net. I used to work in PHP.

Can someone help to print out "thisfunction" into TextBox1:

<script type="text/javascript">
function thisfunction(name)...
Forum: HTML & CSS 02-23-2013, 09:00 PM
Replies: 5
Views: 217
Posted By Philosophaie
I tried "top:0px; for both leftCol and main. No...

I tried "top:0px; for both leftCol and main. No luck.

I have used "position:absolute;" and forced the columns to go right next and not augmented but I am hoping for a better way with no absolutes...
Forum: HTML & CSS 02-23-2013, 08:11 PM
Replies: 5
Views: 217
Posted By Philosophaie
"float" just moved the columns left and right. ...

"float" just moved the columns left and right.

They were still cascaded "leftCol" above and to the right of "main' not true columns.
Forum: HTML & CSS 02-23-2013, 07:38 PM
Replies: 5
Views: 217
Posted By Philosophaie
Having two columns in a div

Here is an outline of html:
<div class="page">
<div class="header">
</div>
<div class="leftCol">
</div>
<div class="main">
</div>
</div>
Forum: ASP.NET 02-20-2013, 10:07 PM
Replies: 1
Views: 888
Posted By Philosophaie
MsgBox up in front

How do you keep a MsgBox up in front on top of a ASP.net web page?
Forum: JavaScript programming 12-07-2012, 02:56 AM
Replies: 4
Views: 478
Posted By Philosophaie
Javascript code meaning

I am having trouble with the meaning of this piece of Javascript code:

x=((next - present) == 356) ? 2 : (((present - last) == 382) ? 1 : 0);

Could someone explain it for me.
Forum: ASP.NET 07-03-2012, 02:13 PM
Replies: 1
Views: 661
Posted By Philosophaie
Write a WithEvents variable

New to ASP.net.

Working in Microsoft Visual Web Developer 2010 Express.

Wrote a program with both HTML and Visual Basic.

<asp:Button ID="Button1" OnClick="Button1_Click" Text="Get Rise...
Forum: JavaScript programming 07-03-2012, 10:49 AM
Replies: 1
Views: 248
Posted By Philosophaie
OnClick Button1

Why is this line code not accessing "JavascriptProgram()"

<asp:Button ID="Button1" OnClick="return JavascriptProgram();" Text="Get Answer" runat="server" />

The javascript program does not have...
Forum: ASP.NET 07-03-2012, 02:49 AM
Replies: 1
Views: 1,166
Posted By Philosophaie
New at aspx programming

New at aspx programming.

In PHP:

<?php
code
?>

How do you program in a .aspx program to get things started?
Forum: PHP 06-27-2012, 06:25 AM
Replies: 1
Views: 177
Posted By Philosophaie
last line of the program

I can not explain but in the last line of the program:

line 300</html>

There is this error:

Parse error: syntax error, unexpected $end in /home/path/file.php on line 300
Forum: PHP 06-22-2012, 10:18 PM
Replies: 2
Views: 379
Posted By Philosophaie
"if" with "and" statements

Having a little trouble with combining the "if" with "and" statements.

if ($this->kDec > 0.9 && $this->kDec <= 1){
code
}
Forum: PHP 06-20-2012, 01:35 PM
Replies: 2
Views: 264
Posted By Philosophaie
https and credit cards

What would it take to make a https website?

And processing credit cards?
Forum: JavaScript programming 06-09-2012, 03:13 AM
Replies: 1
Views: 266
Posted By Philosophaie
Learning how arrays work

I would really like to learn how arrays work. Up till now I have nothing but frustration. This program is designed to produce a result: sumR = 20 after all the loops. The output is redundant both...
Forum: PHP 06-09-2012, 12:03 AM
Replies: 2
Views: 296
Posted By Philosophaie
A link from the website downloads a file using...

A link from the website downloads a file using ftp from my server.

Both paths ($source and $target) are from the root directory of my server.

These my be incorrect.
Forum: PHP 06-08-2012, 11:11 PM
Replies: 2
Views: 296
Posted By Philosophaie
ftp download

I am trying to upload a file to the user activating this link. This is missing a key element like an fputs or something?

function planetaryorbits(){
$source =...
Forum: PHP 06-07-2012, 08:28 AM
Replies: 1
Views: 354
Posted By Philosophaie
$source and $target for a ftp upload to user

I am having a hard time specifying a $source and $target for a ftp upload to the user.

$source = "/webpath/file.xlsm";
$target = fopen("file.xlsm", "w");
Forum: PHP 06-04-2012, 04:42 PM
Replies: 9
Views: 350
Posted By Philosophaie
I am flying blind here: class1::fn2;...

I am flying blind here:

class1::fn2;
$jd1 = $this->fn2($mo,$dy,$yr,$tz,$dst,$hr,$mn,$sc,$ampm);
$jd = $jd1[0];
$j = $jd1[1];
$d = $jd1[2];
Forum: PHP 06-04-2012, 03:54 PM
Replies: 9
Views: 350
Posted By Philosophaie
Could someone help me troubleshoot? <?php ...

Could someone help me troubleshoot?

<?php
class class1 {
function fn1() {
$mo = filter_input(INPUT_POST, "mo");
$dy = filter_input(INPUT_POST, "dy");
$yr =...
Forum: PHP 06-04-2012, 02:23 PM
Replies: 9
Views: 350
Posted By Philosophaie
If it is possible to return an Array. Could...

If it is possible to return an Array. Could someone give me an example. Also some examples of object oriented programming that you can use +,-,* and / and the function works.
Forum: PHP 06-04-2012, 01:59 PM
Replies: 9
Views: 350
Posted By Philosophaie
function call

Is it possible (1) to call a function within a function and (2) return more than one variable?

<?php
class classr {
function fn1() {
...
$a = 1;
$b =...
Forum: JavaScript programming 06-04-2012, 02:57 AM
Replies: 5
Views: 297
Posted By Philosophaie
That still does not explain when I substitute the...

That still does not explain when I substitute the above array. It does not work when the analog approach does:

<script type="text/javascript">
var a1 = 3;
var a2 = 9;
var a3 = 8;
var a4 = 5;...
Showing results 1 to 25 of 46

 
Forum Jump

All times are GMT +1. The time now is 04:06 AM.