473,325 Members | 2,872 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

using On-Demand Javascript to load function

Hi

I am using Walter Zorne DragnDrop lib along with graphic library for
my application. the function Set_DHTML() in drag n drop library sets
divs(s) for dragging purpose. the argument of function doesn't support
assignment of comma seprated ID names within function due to this one
can't use the function at Runtime by adding IDs.
The othe restriction of this approach is that it should be defined
just above the body tag. I tried to call the function dynamically by
using Ondemand javascript approach but it didn't work at all and it
starts showing a blank page as if I am navigating away.
Can you please tell me some solution that how could I reload a page
with losing the data?

/A

Jul 26 '07 #1
4 1618
On Jul 26, 5:02 pm, Adnan Siddiqi <volati...@hotmail.comwrote:
Hi

I am using Walter Zorne DragnDrop lib along with graphic library for
my application. the function Set_DHTML() in drag n drop library sets
divs(s) for dragging purpose. the argument of function doesn't
What a perfectly intuitive name for that function.

support
assignment of comma seprated ID names within function due to this one
can't use the function at Runtime by adding IDs.
I don't know what that means.
>
The othe restriction of this approach is that it should be defined
just above the body tag. I tried to call the function
Or that. The only thing above the body is the head.

dynamically by
using Ondemand javascript approach but it didn't work at all and it
starts showing a blank page as if I am navigating away.
Where is this "Ondemand javascript?"
>
Can you please tell me some solution that how could I reload a page
with losing the data?
Can you please post the offending code?

Jul 26 '07 #2
I don't have code at this moment because I am at office. Yes I can
share the url of walterzorne code.

http://www.walterzorn.com/dragdrop/dragdrop_e.htm

and API:

http://www.walterzorn.com/dragdrop/api_e.htm

SET_DHMTL() is called as

and its commands:

http://www.walterzorn.com/dragdrop/commands_e.htm
the problem is that it accepts every individual Id as a separate
argument and one can't pass a comma decimated string of DIV Ids as
second argument.

Jul 27 '07 #3
On Jul 27, 3:56 am, Adnan Siddiqi <volati...@hotmail.comwrote:
I don't have code at this moment because I am at office. Yes I can
share the url of walterzorne code.

http://www.walterzorn.com/dragdrop/dragdrop_e.htm
I looked at it. The demos worked okay in my browser, but the code is
crawling with browser sniffs (and is nearly 40K!) But I guess 4
million plus visitors since 2002 can't be wrong. (!)
>
and API:

http://www.walterzorn.com/dragdrop/api_e.htm
I've seen enough. Please don't tell me the 40K drag and drop lib has
dependencies.
>
SET_DHMTL() is called as

and its commands:

http://www.walterzorn.com/dragdrop/commands_e.htm

the problem is that it accepts every individual Id as a separate
argument and one can't pass a comma decimated string of DIV Ids as
second argument.
I assume you mean a comma-delimited list. Why do you need to send
such a thing? Can't you call the function for each element?

Jul 27 '07 #4
On Jul 27, 1:28 pm, David Mark <dmark.cins...@gmail.comwrote:
On Jul 27, 3:56 am, Adnan Siddiqi <volati...@hotmail.comwrote:
I don't have code at this moment because I am at office. Yes I can
share the url of walterzorne code.
http://www.walterzorn.com/dragdrop/dragdrop_e.htm

I looked at it. The demos worked okay in my browser, but the code is
crawling with browser sniffs (and is nearly 40K!) But I guess 4
million plus visitors since 2002 can't be wrong. (!)
and API:
http://www.walterzorn.com/dragdrop/api_e.htm

I've seen enough. Please don't tell me the 40K drag and drop lib has
dependencies.

I assume you mean a comma-delimited list. Why do you need to send
such a thing? Can't you call the function for each element?

this is the issue, the function assume every single ID of DIV as a
separate argument. The other main issue is that the function must be
invoked at the time of loading of page. So if i make my custom
function callDhtml() for Click event in which I just execute
setDHTML() function then it suddenly shows white page and keeps
navigating somewhere.

Jul 27 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Enos Meroka | last post by:
Hallo, I am a student doing my project in the university.. I have been trying to compile the program using HP -UX aCC compiler, however I keep on getting the following errors. ...
9
by: Guy | last post by:
I have extended the datetimepicker control to incorporate a ReadOnly property. I have used the new keyword to implement my own version of the value property, so that if readonly == true then it...
3
by: xzzy | last post by:
I was wondering why we have to have using System.Data using System.Configuration using etc.... why are they not all lumped into one 'using'? In other words, is there a best way to use...
14
by: pmud | last post by:
Hi, I need to use an Excel Sheet in ASP.NET application so that the users can enter (copy, paste ) large number of rows in this Excel Sheet. Also, Whatever the USER ENETRS needs to go to the...
15
by: Nathan | last post by:
I have an aspx page with a data grid, some textboxes, and an update button. This page also has one html input element with type=file (not inside the data grid and runat=server). The update...
8
by: acb | last post by:
Hi, I wrote a DLL Component (using Visual Studio 2005) and managed to include it into a C# Console application. I am now trying to include this component into a Web project. I copy the DLL...
0
by: Metal2You | last post by:
I'm working on an ASP.NET 2.0 application in Visual Studio 2005 that accesses a Sybase database back end. We're using Sybase SQL Anywhere 9.0.2.3228. I have installed and registered the Sybase...
1
by: Anonieko | last post by:
Understanding and Using Exceptions (this is a really long post...only read it if you (a) don't know what try/catch is OR (b) actually write catch(Exception ex) or catch{ }) The first thing I...
5
by: ssg31415926 | last post by:
Does anyone have any experience using SCPs (serviceConnectionPoints) in C#? Specifically, I'm trying to use an SCP to locate a service on a server, once the service has created the SCP. I've...
0
by: Eugene Anthony | last post by:
The problem with my coding is that despite removing the records stored in the array list, the rptPages repeater control is still visible. The rptPages repeater control displayes the navigation...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.