Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 500
Search took 2.99 seconds.
Search: Posts Made By: nikkiH
Forum: JavaScript programming 12-26-2007, 06:56 PM
Replies: 8
Views: 1,256
Posted By nikkiH
Bear in mind if you do it that way, the user can...

Bear in mind if you do it that way, the user can simply put any page they like in the URL. They can try to get at your admin scripts.
This can be a vulnerability. It exists the javascript way as...
Forum: JavaScript programming 12-26-2007, 06:17 PM
Replies: 8
Views: 1,256
Posted By nikkiH
Functions make your life easier because of the...

Functions make your life easier because of the embedded quotes issue, and just ease of reading. You can just put it inline if you want,

<body>
<a href="#"...
Forum: JavaScript programming 12-26-2007, 03:45 PM
Replies: 8
Views: 1,256
Posted By nikkiH
Try this instead. <!DOCTYPE HTML PUBLIC...

Try this instead.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title> new document </title>
<script...
Forum: ASP 11-28-2007, 02:48 PM
Replies: 1
Views: 774
Posted By nikkiH
Did you check with your host to be sure they...

Did you check with your host to be sure they support this (CDO) and that it is configured? Did you verify that path?

Also, IIRC, the "from" has to be a valid email address. Don't quote me though,...
Forum: JavaScript programming 11-28-2007, 02:45 PM
Replies: 2
Views: 549
Posted By nikkiH
It's this function. function redirect2(z){ ...

It's this function.

function redirect2(z){
window.location=temp1[z].value
}
Forum: JavaScript programming 11-16-2007, 08:56 PM
Replies: 3
Views: 737
Posted By nikkiH
You asked for the browser alert ;) If you...

You asked for the browser alert ;)

If you just want to clear the div contents, plop a text link with onclick that resets the innerHTML of your div to nothing, or hides the div, depending on what...
Forum: JavaScript programming 11-16-2007, 08:54 PM
Replies: 2
Views: 666
Posted By nikkiH
IE doesn't support that display style. ...

IE doesn't support that display style.
http://www.quirksmode.org/css/display.html

You're stuck with visibility and display none.
Forum: HTML & CSS 11-16-2007, 06:28 PM
Replies: 4
Views: 598
Posted By nikkiH
By default, you can't run active content from...

By default, you can't run active content from localhost. If that's a link in a page you're opening locally, add the trust condition in IE settings.

It's in the tools -> Options
Advanced tab...
Forum: JavaScript programming 11-16-2007, 02:58 PM
Replies: 3
Views: 737
Posted By nikkiH
Change this: function showResult(result) { ...

Change this:
function showResult(result) {
$('res').innerHTML = result; // put the result into the div with id="res"
}

to this
function showResult(result) {
alert(result);
}
Forum: JavaScript programming 11-15-2007, 03:31 PM
Replies: 1
Views: 1,044
Posted By nikkiH
AJAX dynamic selects, generated by the PHP. See...

AJAX dynamic selects, generated by the PHP.
See GIS: http://www.google.com/search?source=ig&hl=en&rlz=&q=php+ajax+dynamic+select&btnG=Google+Search
Forum: ASP 11-14-2007, 09:22 PM
Replies: 1
Views: 577
Posted By nikkiH
I think you need to set jobcount to 0, not 1, to...

I think you need to set jobcount to 0, not 1, to initialize it.
Forum: ASP.NET 11-14-2007, 04:17 PM
Replies: 7
Views: 7,971
Posted By nikkiH
:) I found this, and it addresses the issue...

:)

I found this, and it addresses the issue with handling edit, why it doesn't work, and getting the edit item template controls via the RowCreated event....
Forum: ASP.NET 11-14-2007, 03:50 PM
Replies: 7
Views: 7,971
Posted By nikkiH
This is full test code, using Northwind, showing...

This is full test code, using Northwind, showing binding the drop down list and showing that the event RowEditing is actually still looking at the item template, not edit item template.
I thought...
Forum: ASP.NET 11-14-2007, 03:32 PM
Replies: 7
Views: 7,971
Posted By nikkiH
Is it generating the edit button in the first...

Is it generating the edit button in the first column (default)?
If it is, cell 0 has that, not your item template.

Edit: never mind, this is in the row editing event - the cell hasn't generated...
Forum: ASP.NET 11-14-2007, 02:36 PM
Replies: 7
Views: 7,971
Posted By nikkiH
Please post your edit item template

Please post your edit item template
Forum: HTML & CSS 11-13-2007, 09:36 PM
Replies: 18
Views: 1,555
Posted By nikkiH
If you look at it with firefox web dev extension...

If you look at it with firefox web dev extension and display element info, it may help you.
Right now I don't see anything wrong with it, but I'm not sure if you meant it has a problem right now,...
Forum: JavaScript programming 11-13-2007, 09:31 PM
Replies: 7
Views: 1,106
Posted By nikkiH
That's awesome, liorean, and explains fun things...

That's awesome, liorean, and explains fun things like why putting an alert in can appear to "fix" script timing issues, why document.write can break the entire page by wiping it out, and other such...
Forum: ASP 11-13-2007, 09:16 PM
Replies: 3
Views: 1,017
Posted By nikkiH
Ah, see, I had made the same mistake and tried...

Ah, see, I had made the same mistake and tried the join in the wrong spot. Ended up with a sub-select.

Thanks for sharing that way :)
Forum: JavaScript programming 11-13-2007, 09:08 PM
Replies: 7
Views: 1,106
Posted By nikkiH
I believe so, because in my experience, when a...

I believe so, because in my experience, when a script error occurs, the page stops loading half-rendered.
This may, however, be browser dependent.
Forum: ASP.NET 11-13-2007, 08:23 PM
Replies: 6
Views: 1,328
Posted By nikkiH
Oh, and honestly, .NET is so different from ASP,...

Oh, and honestly, .NET is so different from ASP, you might as well consider it an entirely new language. Switch to C# or something so you get all your preconceived notions on how to do something out...
Forum: ASP.NET 11-13-2007, 08:20 PM
Replies: 6
Views: 1,328
Posted By nikkiH
ASP.NET is very different from ASP. Inline code...

ASP.NET is very different from ASP. Inline code is not quite the way of this framework. That's an interpreted language thing, really. It is discouraged in .NET and JSP. It defeats the purpose.

I...
Forum: JavaScript programming 11-13-2007, 08:03 PM
Replies: 7
Views: 1,106
Posted By nikkiH
Javascript is not threaded. It will appear to...

Javascript is not threaded. It will appear to freeze.
Forum: ASP 11-13-2007, 08:01 PM
Replies: 3
Views: 1,017
Posted By nikkiH
You can't use a join for an update like that. Use...

You can't use a join for an update like that. Use a sub-select.

update crminfo set agent = NULL
WHERE agent IN
(select username from crmagents where online is null)
Forum: ASP.NET 11-07-2007, 08:01 PM
Replies: 3
Views: 925
Posted By nikkiH
Are you looking for a postback to occur, or just...

Are you looking for a postback to occur, or just a request that passes the category id?

For the latter, use whatever you want the URL parameter to be (say, catid) and this format for the link:
...
Forum: ASP.NET 10-26-2007, 02:25 PM
Replies: 3
Views: 999
Posted By nikkiH
You make dropdown lists that are databound to the...

You make dropdown lists that are databound to the proper queries. It's just a left outer join.
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT +1. The time now is 08:34 PM.