User Profile

Collapse

Profile Sidebar

Collapse
hash4sp
hash4sp
Last Activity: Sep 2 '10, 11:53 AM
Joined: Aug 15 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • hash4sp
    started a topic DIV onload ?

    DIV onload ?

    Hi folks,

    How can I do something as follows:

    Code:
    <div id='resultDIV' onload='funcX()'></div>
    Here, I want to trigger funcX(), when some text is loaded in the div's innerHTML dynamically.

    Through jquery I tried the following, but unsuccessfull.

    Code:
    $("#resultsDIV").load(function() {
        alert("The div has been loaded.");
    });
    ...
    See more | Go to post

  • @Dormilich

    Indeed thanks for your answers.
    Then how do I assign values during the loop to those variables from a to f?
    See more | Go to post

    Leave a comment:


  • Thanks for you reply. I am setting the values for the array variables in the loop. Am i doing something wrong here.

    Code:
    <html>
    <body>
     
    <script type="text/javascript">
     
    var a,b,c,d,e,f;
    var set1=[a,b,c];
    var set2=[d,e,f];
    var comboAll=[set1,set2];
     
    function initializeVars(){
     
        for (var i=0; i<comboAll.length;i++){
    ...
    See more | Go to post

    Leave a comment:


  • @Dormilich
    I changed it with a DIV tag. Still doesnt work.
    It returns undefined for each variable.

    Code:
    <div id='results'></div>
    
    document.getElementById('results').innerHTML = a + ' ' + b + ' ' + c + ' ' + d + ' ' + e + ' ' + f;
    regards
    See more | Go to post
    Last edited by hash4sp; Aug 24 '10, 08:36 AM. Reason: update

    Leave a comment:


  • array of arrays - assigning values to variables inside array !

    Hi,

    Can anyone please advise me on the following. Here I have a bunch of variables in an array. And then those arrays in another array. I want to assign values to those variables in arrays. Is this the correct way to do it?

    Code:
    <html>
    <body>
    
    <script type="text/javascript">
    
    var a,b,c,d,e,f;
    var set1=[a,b,c];
    var set2=[d,e,f];
    var
    ...
    See more | Go to post

  • Linkbutton Not Firing RowCommand Gridview UpdatePanel UserControl

    Hi

    I have a problem with my Linkbutton which is not firing the RowCommand of my gridview.

    Just for an Idea what I am doing is a follows:

    1. WebForm
    WebForm hosts UserControl_A.

    2. UserControl_A = UpdatePanel + Panels + Gridview1 + CollapsiblePane lExtender
    Updatepanel of UserControl_A consists of multiple Panels.
    Each Panel consists of a Gridview1.
    Upon each Panel...
    See more | Go to post

  • Hi Carmarri !

    I created test pages.
    1. Page1.html calls Page2.html in an Iframe.
    2. Page1.html is hosted on IIS
    3. Page2.html is hosted on Apache
    4. Now i want to access a variable named "aTestVaria ble" of Page2 from Page1.
    5. This works perfectly in IE, but the problem is in FireFox.

    Thanks !

    Code as follows:

    Code:
    Page1.html
    ...
    See more | Go to post

    Leave a comment:


  • hash4sp
    started a topic IFrame Cross Domain Communication - FireFox?

    IFrame Cross Domain Communication - FireFox?

    Hello

    Can anyone here please guide me with the Cross Domain Communication between IFrames.

    Problem:

    Application1 running on IIS => http://localhost.ad.lo cal/Applicaiton1
    Application2 running on Apache => http://localhost.ad.lo cal:8080/Application2

    The Application2 is being loaded in an IFrame inside Application1; and there needed a communication beetween the two Applications....
    See more | Go to post

  • hash4sp
    replied to problem with Arabic language.
    in .NET
    hello.. is there anyone who can give me some suggestion on this please
    See more | Go to post

    Leave a comment:


  • hash4sp
    started a topic problem with Arabic language.
    in .NET

    problem with Arabic language.

    Hello,

    I have been haunted by this issue for a long time. I have a list of cities in a .DBF file called as "cities1.db f". When i query the Arabic field & try to display in a drop down list, it shows some garbage values & not the actual arabic text.

    Is this something to do with the encoding decoding. Earlier i tried do solve this with the .net Encoding decoding, but couldnt get success.
    ...
    See more | Go to post

  • hash4sp
    started a topic Add Javascript at runtime - WebBrowser control ?
    in .NET

    Add Javascript at runtime - WebBrowser control ?

    Hello !

    I am working on a desktop application that is using a WebBrowser control to display html pages. I am looking for a way to add Javascript code to the html page at runtime.

    Thanks & regards,
    Hash
    See more | Go to post

  • hash4sp
    started a topic How to Call aspx page from PHP?
    in PHP

    How to Call aspx page from PHP?

    Hello !

    Can anyone please advise me on
    how to call an aspx page from PHP
    page. My PHP page performs a
    function & then must call this aspx
    page by sending some parameters.
    Is there anyone with suggestions
    regarding to this matter.

    regards,
    Hash !
    See more | Go to post

  • hash4sp
    started a topic Add Image Icon in Select ???

    Add Image Icon in Select ???

    Hello !

    I need to add image icons to SELECT option.
    I have gone through and tried few things by
    googling but it doesnt seem to work.

    example link

    Any suggestions regarding please...

    thanks
    See more | Go to post

  • hash4sp
    replied to System Resources Exceeded ?
    in .NET
    How do i remove the code which i pasted in the first post above???
    See more | Go to post

    Leave a comment:


  • variable scope - Accessing value of global variable ???

    Hello readers,

    How do I access value of a global variable in a function.

    Code:
    var UserName; //declared global 
    
    function1(UName) // this function is called onLoad event and UName is passed 
    {
    UserName = UName;
    }
    
    function2()
    {
    -->//how to get the value of UserName here which is set in above function
    }
    I tried using...
    See more | Go to post

  • hash4sp
    replied to System Resources Exceeded ?
    in .NET
    Hi kenobewan !

    According to your suggestion I did closed the connection at the specified line no., but still the problem exists. The database stops responding once evey week & then I restart the system. Definitely there might be some proper solution to this problem What do u mean by optimizing database performance. I am using the .dbf from the shapefiles.

    Will be thankful for ur suggestions.

    ...
    See more | Go to post

    Leave a comment:


  • How to get IMG tag with getElementById on Pocket IE ??

    Hi !

    I am not able to get the object IMG tag on pocket IE.
    I tried the following n both doesnt seems to work.

    document.getEle mentById('mapim age')

    document.all['mapimgae']

    any help plz..

    regards,
    Hash
    See more | Go to post

  • Hi Markmcgookin !

    thanks for your reply. I am using asp on the .net platform.
    wht do u mean by adding event handler to control?

    regards
    See more | Go to post

    Leave a comment:


  • hash4sp
    started a topic PDA onClick event equivalent???

    PDA onClick event equivalent???

    Hi !

    I am working on PDA application. Onclick event doesnt seems to work.
    I need to load a new image upon clicking respective a link.
    I am luking for something like this.

    Code:
    <a onclick='document.getElementById('mapimage').src=http://xyz.com?citymap=abc">
    where the object i.e mapimage is an <IMG> tag.

    Code:
    <IMG ID="mapimage" NAME="mapimage" SRC="<%Response.Write(ImgName)%>"
    ...
    See more | Go to post

  • Hi there !

    i guess u missed the quotes (use either single or double quote)
    for the object id being referenced...

    Code:
    document.getElementById[B]("link").[/B]src="test.png"
    cheers !
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...