|
Element usually refers to any HTML tag such as <div> or <img>.
|
|
|
|
|
|
Sorry, I was in a hurry when I tried to answer your question.
First of all, variable names in javascript follow this standard:
A JavaScript identifier must start with a letter, underscore (_), or dollar sign ($); subsequent characters can also be digits (0-9).
Since a function in javascript is actually a variable, it follows the same rules. Thus, there is a function created somewhere like:
<br />
function $() {<br />
...<br />
{<br />
or
<br />
function $(object) {<br />
...<br />
}<br />
Regards
|
|
|
|
|
Search for "function $" in your code, and you will find it.
---
b { font-weight: normal; }
|
|
|
|
|
what are the basic difference b/w javascript & vbscript
please also refer me some article or site about it.
thanx
Ish Kumar Kapila
|
|
|
|
|
vbscript only works in IE where as javascript works in almost any browser.
They have a different syntrax and different API.
--------------------------------------------------------
My portfolio & development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
VbScript can also be used as a computer script. Javascript can't.
|
|
|
|
|
Incorrect. WSH, which executes stand-alone VBS scripts, can also execute JS, with pretty much the same capabilities.
every night, i kneel at the foot of my bed and thank the Great Overseeing Politicians for protecting my freedoms by reducing their number, as if they were deer in a state park. -- C hris L osinger, Online Poker Players?
|
|
|
|
|
I have a one big problem , Using the Internet Explorer to view my site its working fine but with firefox it doesnot give the proper result , all the formatting and alignments get worst with firefox but with internet explorer its working fine. can u tell me what changes i should to view the best result with both the browser.
demane
|
|
|
|
|
|
what do sub & endsub mean in vbscript ?/
give full details...
Ish Kumar Kapila
|
|
|
|
|
Start and end of a function that does not return a value.
--------------------------------------------------------
My portfolio & development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
hi
this code is quite nice for me except if the text box is at the edge of my modal dialog page, it auto drop down with page scrollbar out where i set my modal dialog page size without scrollbar exists.
so wat should i do?
chu
|
|
|
|
|
I use the script:
function oedjsSetObjectValue( obj, strValue )
{
var _oedjsObjS=document.getElementById( obj );
if( _oedjsObjS != null )
_oedjsObjS.value = strValue;
}
then I have a textbox
echo "";
and call this in PHP:
echo "";
but the input named 'strFormText[0]' want not set the value to '2'
|
|
|
|
|
is this a typo?
tibiz wrote: echo "";
and call this in PHP:
echo "";
should it be
value=\"$strFormText[0]\" name=\"$strFormText[0]\">";
and call this in PHP:
echo "<input type=\"button\" ... removed=\"oedjsSetObjectValue('$strFormText[0]', '2')\">";
note the variable call in the name and removed attribute code. also its been a while since i coded any php but i don't think '$strFormText[0]' will echo the var i think you need '"+$strFormText[0]+"'
regs,
g00fy
|
|
|
|
|
Hi All,
In web based application, ASP.Net + C#. I want to do like this
protected void Function()
{
this.cursor = Cursor. Wait;
/// do some operations
this.cursor = Cursor.deafult;
}
The above code will work for Window based application, but i want to implement it in Web Based. Anybody please help me...
Kannapiran S
|
|
|
|
|
you need to use javascript
*something* like this
function LongTask(obj)
{
obj.style.cursor = "HourGlass";
obj.style.cursor = "Default";
}
<input type="button" name="Button1" id="Button1" _onclick="javascript:LongTask(this);" ... >
g00fy
|
|
|
|
|
protected void cmdBtn_Click(object sender, EventArgs e)
{
WaitCursor();
//... some operations ....
DefaultCursor();
}
protected void WaitCursor()
{
// JavaScript function for Wait Cursor.
string strWaitCursor = "" +
"document.body.style.cursor = 'wait';" +
"";
// Add the JavaScript code to the page.
ClientScript.RegisterStartupScript(this.GetType(), "WaitCursor", strWaitCursor);
}
protected void DefaultCursor()
{
// JavaScript function for Default Cursor.
string strDefaultCursor = "" +
"document.body.style.cursor = 'default';" +
"";
// Add the JavaScript code to the page.
ClientScript.RegisterStartupScript(this.GetType(), "DefaultCursor", strDefaultCursor);
}
Will it work????
Kannapiran S
|
|
|
|
|
Doesn't CSS have a cursor function? Infact i know it does:
cursor: auto (uses what is set by user)
cursor: crosshair (should produce a cross)
cursor: default (cursor remains as it is)
cursor: e-resize (arrow pointing right)
cursor: hand (the traditional pointing hand)
cursor: help (a Question Mark should appear)
cursor: move (a cross with arrows on the tips)
cursor: n-resize (an arrow pointing north or up)
cursor: ne-resize (an arrow pointing northeast)
cursor: nw-resize (an arrow pointing northwest)
cursor: pointer (that hand again)
cursor: s-resize (an arrow pointing south or down)
cursor: se-resize (an arrow pointing southeast)
cursor: sw-resize (an arrow pointing southwest)
cursor: text (looks like the end of an I-beam)
cursor: w-resize (an arrow pointing west)
cursor: wait (an hourglass)
There you go.
Use Javascript to change the style of the elemnet that the user's mouse is in.
I would suggest a that surrounds the whole page and allows you to change the cursor without affecting the other CSS rules you have inplace!
Brad
Australian
Have you tried Rebooting it?
|
|
|
|
|
Hi All,
I got problem with my ASP.Net application + Crystal Report + Atlas.
My application holds Crystal report (Report.rpt) displayed through "Atlas"
I designed my Report and I made attempt to display it. The output of my report(report.rpt) differs from the designed report.
My application is free from errors.
Why this controversy?
Kindly give me solution
Kannapiran S
|
|
|
|
|
Hi all,
We have a web application in asp vbscript.
I need to ensure that the access to different modules in the application be
determined by the credentials of the user logged in..
Now any user is able to access any page once logging in...if he knows the URL..
The business logic is written in .Net but the front end pages are pure asp.
Thanks in anticipation...
If you fail for the first time , call it version 1.0.
|
|
|
|
|
hi,
try using sessions..
i once had the same problem
1) ask the user to log in..
2) store his credentials in a session..
3) write any query to check his status/rights from any database of registered users thst u have.....( if any )
4) allow him those rights on the necessary page...or....redirect to the page u allow him...
i hope it will solve ur problem or atleast give u the concept of the idea..
thanx...
Ish Kumar Kapila
|
|
|
|
|
I have created a very simple HTML base photo album integrated with Google Maps.You can share your photo and the place where it was taken on a map. I tried to make it as straightforward I could. There is only a single XML file a user has to edit to use this album.
View the album: http://ashishware.com/photoalbum.html
Download and How to : http://ashishware.com/photo.shtml
Comments and suggestion welcomed
[Check out more http://ashishware.com/DhtmlGallery.shtml]
Ashish Patil
http://ashishware.com
ashishpatil.blogspot.com
|
|
|
|
|
Hi all,
I have not yet had to program anything requiring SSL, so can someone please advise. I am developing three sites that are subsidiaries of each other and all have there own domains, not sub domains of one site.
If admin logs in to one site to content manage or user logs into one site to view account, can they then go to one of the other 2 sites and still be logged in, or is there an issue?
Can a single sign-on work across multiple top level domains? (i have never tried this either)
Also can I get a certificate that will cover 3 different domains? All the ones I have seen are wildcard, being mulitple subdomains of a domain on one server.
I have looked into partially securing an application using SSL and it looks cumbersome, is the overhead of securing the entire site noticeable?
The information being stored is personal information like a user profile, no credit card information will be handled at all.
Personal information can be quite sensitive, so should I bother with SSL or not?
what is the standard?
All the 3 domains will be on the one server.
A user's account in this instance has the same 'core attributes' then each of the other 2 domains adds more information and functionality to the core account information.
Regards,
g00fy
|
|
|
|
|
Hi all,
I have a database that is in a DMZ. To be able to access the DB easily I was planning to create a web service that does all the DB access so that it can be used via a WinForm app over the internet.
My intention was to pass a SQLCommand to the WebService but apparently this is not Serializable so it doesn't work. I wanted to pass the SQLCommand to avoid having to put all the business knowledge in the webservice and to make it as dynamic as possible.
What is the best practice for such a problem?
All help is welcome !
Greetz,
Gette
|
|
|
|