User Profile

Collapse

Profile Sidebar

Collapse
ifedi
ifedi
Last Activity: May 30 '11, 03:55 PM
Joined: Jan 17 '08
Location: Abuja, Nigeria.
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ifedi
    replied to Problem loading AJAX content only in IE
    Hi folks,
    I obtained one DebugBar which I installed on IE. With this, I could monitor the HTTP traffic (a little like FF Firebug). With this, I noticed this returned content each time IE went 'silent':
    Code:
    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>406 Not Acceptable</title>
    </head><body>
    <h1>Not Acceptable</h1>
    ...
    See more | Go to post

    Leave a comment:


  • ifedi
    started a topic Problem loading AJAX content only in IE

    Problem loading AJAX content only in IE

    Hi guys,
    Kindly spare a moment to look at this page: http://gottkann.com
    Most of the page content is designed to be loaded by AJAX (mostly jQuery .post and .get) on clicking the menu links on top and to the left. Problem is: after A SINGLE SUCCESSFUL loading, nothing else happens in IE (I've tried v7 and v8), and only 'Home' seems to do anything.
    All other major browsers seem to be doing just fine. And to complicate matters some...
    See more | Go to post

  • ifedi
    replied to How to automatically expand textarea
    Yes!!
    As a matter of fact, it was not "a combination of newlines and text length" that did it; it was textarea.scroll Height.
    Bravo brother, I appreciate your insight.
    Ifedi....
    See more | Go to post

    Leave a comment:


  • ifedi
    replied to How to automatically expand textarea
    Thanks improvcornartis t for your kind reply.
    However, I have like 2 issues with this solution:
    Code:
    textarea.rows = Math.ceil(textarea.value.length / textarea.cols);
    1. It seems I would therefore need to supply the COLS attribute for any textarea needing this functionality. Problem is I've mostly used the STYLE.WIDTH instead, to determine the textarea widths.
    2. Even given the COLS attribute, the code rather fails...
    See more | Go to post

    Leave a comment:


  • ifedi
    started a topic How to automatically expand textarea

    How to automatically expand textarea

    I need to make a textarea grow automatically (in height) as the user entry flows over to a new line...
    Actually I got this working well, only when ENTER is hit (I made use of the total number of \r\n in the textarea content, and setting the textarea ROWS attribute to this), but am at a loss implementing this for the situation when the text WRAPS by itself (ie with long text lines). The problem is that a long phrase may actually occupy 3 lines...
    See more | Go to post

  • ifedi
    replied to Why wont this AJAX method work?
    Try:
    Code:
    jQuery("#d_results").load("Lookup_Results.jsp", "date1="+date1+"&ReportType=45");
    Also: did you say 'd_results' is the NAME of the div? I would think you should using the div's ID instead. This is actually more likely to be the problem.
    Of course I assume you have got other things right.. like 'Lookup_Results .jsp' being the correct url address.
    Cheers...
    See more | Go to post

    Leave a comment:


  • I know next to nothing about jsp (I code PHP). However, I could offer the following insight:

    Create a field in the database on a row belongin to this logged in user.
    In the code handling log out, trap down the present page address and save it to the database field created above. (This needs to be handled just before the actual destruction of session.)
    In the code handling log in, (after authentication of the user), select...
    See more | Go to post

    Leave a comment:


  • ifedi
    replied to onclick and onchange not working in IE6
    My question is:
    What are you still doing writing for IE6?
    See more | Go to post

    Leave a comment:


  • Thanks gits.
    I'll take a look at those links shortly.
    But I was thinking: surely, a page refresh should drop those references, shouldn't it? Therefore, since it might be the AJAX requests that are to blame here, how would you drop references where you still continue to need to watch the server for changes?
    See more | Go to post

    Leave a comment:


  • clearTimeout and clearInterval: are they mandatory?

    Hi all,
    I have an application that uses setInterval and setTimeout in many places. In particular, most of the setInterval is used to fetch AJAX content periodically for items that may have changed in the server...
    Problem is that my browsers progressive consume the system resources as time goes on. The impression i get is that memory does not get released even with page refreshes.
    I suspect it might partly have to do with uncleared...
    See more | Go to post

  • ifedi
    replied to This query returns BLANK with PHP!
    The problem was the double quotes!
    I just realized that the double-quotes within CONCAT_WS(" " and that enclosing "Singleton" were conflicting with the double-quotes enclosing the entire query statement. They needed to be either escaped or converted to single quotes. I did the latter.
    Thanks anyway.
    See more | Go to post

    Leave a comment:


  • ifedi
    started a topic This query returns BLANK with PHP!

    This query returns BLANK with PHP!

    I've a project (medical stuff based on PHP/apache) where I need to run this query:
    Code:
    SELECT CONCAT_WS(" ", CONCAT(pregNo,':'),  del_year, MONTHNAME(CONCAT('2000-',del_month,'-01')), concat('@',ga,'wk'), CONCAT('in', UCWORDS(place)), IF(fetal_no = 1, "Singleton", IF(fetal_no=2, 'Twins', IF(fetal_no > 2, 'Multiple' , '')) ) , CONCAT(labour_length, 'hrs'), CONCAT('Onset: ',onset), CONCAT('Complications: ',an_complications),
    ...
    See more | Go to post

  • ifedi
    started a topic reliable free DOMAIN NAME and HOSTING

    reliable free DOMAIN NAME and HOSTING

    Could someone help out with practical information based on experience, please!
    I need reliable free domain name registration and hosting services. What options are great out there? Any pros/cons sets of tips would be greatly appreciated.
    Thanks a million.

    PS: Much preferably NOT a subdomain
    See more | Go to post

  • ifedi
    replied to HTML Database access using Javascript
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
      
    <html xmlns="http://www.w3.org/1999/xhtml"> 
    <head> 
        <title>Project input Form</title> 
        <style type="text/css"> 
            .style1 
            { 
                width: 70%;
    ...
    See more | Go to post

    Leave a comment:


  • ifedi
    replied to mysql overhead with innodb tables
    I'm not sure if I've quite done that. And right now I'm a couple of miles from my server machine... so I'll do that ASAP.
    Anyhow, my reservations:
    Should I really think I'd need to run OPTIMIZE TABLE on each of 112 tables to sort the problem out?
    Why should a brand new table with with only one column and no data need OPTIMIZE?
    It seems to me that something at a higher level is wrong with INNODB tables, or perhaps their...
    See more | Go to post

    Leave a comment:


  • ifedi
    replied to mysql overhead with innodb tables
    Yes.
    As a matter of fact, just to investigate, I created a new database 'test2'. Creating a new INNODB table in test2 with a single column resulted in the same output (the same number of bytes of "overhead" as was in each of the other tables in the other databases). When I changed this new table to MyISAM, all seemed well.

    All INNODB settings I are default....
    See more | Go to post

    Leave a comment:


  • ifedi
    started a topic mysql overhead with innodb tables

    mysql overhead with innodb tables

    Hey guys,
    I've a mysql database with about 112 tables and views. All of the tables are INNODB. I manage this with phpmyadmin, and stuff have been pretty much fine over the last one and a half years.
    Suddenly I noticed this problem:
    I needed to transfer the installation to another network server (running WinXP); I used the export feature in phpmyadmin to get out the table structure, and recreate them in the new database. This...
    See more | Go to post

  • Formattable Textbox for Entry into MySQL database

    Hi anyone,
    I'll put it straight..
    I need to use a textbox SUCH AS THIS ONE INTO WHICH I TYPE AS I WRITE, such that formatted text can be sent into a MYSQL text type field. On another page, I should be able to query out this database field into a different textbox, retaining any formatting initially applied in the first textbox..
    Thanks in advance.
    Ifedi.
    See more | Go to post

  • I have a patient management (medical) software in the process of being completed. Basically run on PHP in a background of Apache and MySQL. On the front end, there's plenty of JavaScript and AJAX, without which the software would be quite sub-functional.
    At present, I have deployed on one hospital intranet. However, I dream of hosting the system online, such that access can be unlimited. Something tells me I may have to take a couple of security...
    See more | Go to post

    Leave a comment:


  • Passing value via POST rather than GET variable via links

    Hi all,
    Could someone help me out on this please.
    I need to be able to pass a number of values from one php script to another when the user clicks on a link. At present I'm aware of only 1 straightforward way to do this: via a querystring which is displayed eventually in the address bar of the destination page.
    But...
    I should be able to pass values similarly using the POST method shouldn't I? One advantage of this is, I...
    See more | Go to post
No activity results to display
Show More
Working...