www.webdeveloper.com

Search:

Type: Posts; User: alzami

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thread: regex prob

    by alzami
    Replies
    6
    Views
    485

    what do u actually mean by "very loose"? var...

    what do u actually mean by "very loose"?

    var chng=str.replace(/[+-]?[\d\.]+/g,"i");
    do i need to escape the dot inside a character class?
  2. Thread: regex prob

    by alzami
    Replies
    6
    Views
    485

    what do u actually mean by "very loose"?

    what do u actually mean by "very loose"?
  3. Thread: regex prob

    by alzami
    Replies
    6
    Views
    485

    it will replace the sections separated by comma...

    it will replace the sections separated by comma with "i".actually i am learning regex .
  4. Thread: regex prob

    by alzami
    Replies
    6
    Views
    485

    regex prob

    why it is showing two i's "ii" instead of a single "i"

    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    </head>

    <body>
  5. Replies
    0
    Views
    335

    enter key problem

    i am trying to learn how to make a text editor.here i creat a paragraph using "para" button.and inside the paragraph there will be a quote.Every time I press 'enter' within this paragraph, a new...
  6. Replies
    0
    Views
    304

    creatLink in execCommand()

    i want to creat link using selected text.codes aren't working.how can i fix this?


    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <style>
    #its{
  7. Replies
    10
    Views
    676

    well thanks!after studying the topics i think i...

    well thanks!after studying the topics i think i am beginning to understand the topics.slowly though.i have some questions:
    as b is the captures from the string so what does it means by

    And why m...
  8. Replies
    10
    Views
    676

    this explanation is good but not enriched with...

    this explanation is good but not enriched with example.absence of good example creates more confusion.can u suggest a good source where i can learn the basics of using function as replaceText?or u...
  9. Replies
    10
    Views
    676

    thanks.but how b is assigned any value ?the rule...

    thanks.but how b is assigned any value ?the rule behind it.it will be helpful for me if u explain it here briefly
  10. Replies
    10
    Views
    676

    many thanks.but is that () outside \d+ is...

    many thanks.but is that () outside \d+ is necessary?and the argument a and b.i am not passing any value to the arguments here.so how i can get a value Math.pow(x_val,b);
  11. Replies
    10
    Views
    676

    can i use variable inside str.replace() ?

    i am trying a dynamic max power and "x" value input.everything is fine the problem is i can not replace the (x^something) dynamically with replace() method.

    <!doctype html>
    <html>
    <head>
    <meta...
  12. Thread: Math.pow

    by alzami
    Replies
    4
    Views
    496

    i have done this var...

    i have done this
    var cube2=-(Math.pow(-for_cube_root2,0.33));
    but still feeling confused.is there any better way?
  13. Thread: Math.pow

    by alzami
    Replies
    4
    Views
    496

    how it can be solved.if i want result the...

    how it can be solved.if i want result the calculation need to be done this way.its in the formula.actually i am making a calculator code.and it does the cubic eqn ax3+bx2+cx+d
    roots calculation.
  14. Thread: Math.pow

    by alzami
    Replies
    4
    Views
    496

    Math.pow

    whay it gives me NAN

    Math.pow(-.39,0.33);
    actually here var cube2 value is giving NAN


    function solve_cube(){
    var m=document.getElementById("gets");
    var n=document.getElementById("divs");...
  15. Thread: a simple game

    by alzami
    Replies
    2
    Views
    432

    a simple game

    i have been trying to make a simple game.i have managed to code the way i want the game to be played.i think every one know what this game is asap you see the codes.but problem is i cant find how to...
  16. Replies
    2
    Views
    416

    setTimeout vs setInterval

    this sliding animation works just fine with setInterval but doesn't work with setTimeout though i used setTimeout inside the function "scroll" so that it loops the function every time its been...
  17. Replies
    4
    Views
    607

    the first example you've showed isn't working...

    the first example you've showed isn't working .though i've not tried the second option ,but for simplification i want to do it like the first one.what might be the problem hrer?
  18. Replies
    4
    Views
    607

    stop a auto slide

    i have a created an auto image slide gallery which i want to stop whenever i click on the "close auto " button.but cant figure out how to.so please help me out on this!!i've deleated the "next" and...
  19. Replies
    2
    Views
    372

    thanks

    thanks
  20. Replies
    2
    Views
    372

    load some images to a div

    i want to load some images using new image() object method.i can do the same thing using normal array indexing.but i want to do it in this way only for learning purpose.can anyone tell me where the...
  21. Replies
    4
    Views
    387

    this script also not working var i=0;...

    this script also not working
    <script>
    var i=0;
    function scroll(el){
    var m=document.getElementById(el);
    var t=m.offsetTop;
    var c=window.pageYOffset;
    for(i=0;i<=m.offsetTop;i++){...
  22. Replies
    4
    Views
    387

    what do you mean?still cant find the problem.i...

    what do you mean?still cant find the problem.i even cant see any error here??
  23. Replies
    4
    Views
    387

    scroll to a particular direction

    i want to scroll my window to a certain point and i want a smooth scroll.But i dont know why this code isn't working.can any one explain to me the reasons behind it?

    <!doctype html>
    <html>...
  24. Replies
    2
    Views
    395

    thanks a lot!!

    thanks a lot!!
  25. Replies
    2
    Views
    395

    delay the execution of a function

    say i have a function toDo();
    i want to call the function whenever i scrolled the window.
    and i want to begin the execution effect after a sudden period of time using setTimeout() function.so what...
Results 1 to 25 of 44
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles