User Profile

Collapse

Profile Sidebar

Collapse
nithinkolekar
nithinkolekar
Last Activity: Mar 13 '11, 03:42 PM
Joined: Nov 29 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • How to call two different javascript function for css class with different id

    In my form there are two anchor tags Add and Clear having same class called button. What I am trying is submit the form data to another page(post) using ajax & clear is for clearing the data using javascript.The problem is that as both buttons having the class the same function(submit ) is called for both button.
    css is look like:
    Code:
    form.addwords .button
    {
      font-weight: bold;
      color: #ffffff;
      cursor:
    ...
    See more | Go to post

  • @johny10151981
    line 28 is enough
    Code:
    $('form#myform').serialize();
    @Samishii23
    works thanks
    See more | Go to post

    Leave a comment:


  • nithinkolekar
    started a topic textbox data not available in post variable
    in PHP

    textbox data not available in post variable

    I am trying to code a form that has multiple textbox without refershing page using ajax, then after each textbox threre will be link called add which POST call the other php called addnew.php.

    In addnew.php data will we added to database(postgr es). But I am geting problem while getting the post variable itself.For testing I added the alert in script.

    this is my code for form (I will chage for multiple textbox once it...
    See more | Go to post

  • I tried all three different function in your mentioned link but still not getting what was I expecting.

    Because you are well sure about utf2html() I assume there might be some thing about php version 5.3.3. For temporarily I am using var_dump() with mb_convert_enco ding() and trimming string until I found solution.
    Code:
    $str = "ಅ";
    $str =  var_dump(mb_convert_encoding($str, 'HTML-ENTITIES', 'UTF-8'));
    ...
    See more | Go to post

    Leave a comment:


  • sorry there was a mistake in code
    Code:
    $str = "ಅ";
    $str1 = '';
    should be
    Code:
    $str = '&# 3205;'; // remove space in between 
    $str1 = 'ಅ';

    I tried following methods utf8tohtml(),ut f8ToUnicodeEnti ties(),_utf8_de code() nothing works and Some functions did not work as erep() is deprecated.

    Function html_entity_dec ode() worked fine when entered &# 3205. I...
    See more | Go to post

    Leave a comment:


  • I tried your suggestion but still not working. I reduced
    the code into single file and removed post action.
    Now testing only one character of first alphabet of kannada . function htmlentities is not returning &#3205.

    Here is my complete code.

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
        <head>
            <meta http-equiv="Content-Type"
    ...
    See more | Go to post

    Leave a comment:


  • kannada unicode entity code before insert into database

    DB = Postgres , UTF-8

    Using PHP I am trying to insert Kannada words into database. File has
    Code:
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    tag, inserting properly into database and retrieving properly(same character encoding as entered).

    my requirement is

    - before inserting into database is it possible to get htmlentity like &#3205, &#3206 for the...
    See more | Go to post
    Last edited by nithinkolekar; Nov 29 '10, 03:50 PM. Reason: utf characters entered instead of entity code
No activity results to display
Show More
Working...