15,688 Topics

Member Avatar for
Member Avatar for vijaykavin10

Hello guys, I have a doubt in setting a third party cookies on browsers, Firefox and chrome allows third party cookies by default IE if we use p3policy it works fine *Likewise is there any way to allow third party on safari even if privacy setting set to block third …

Member Avatar for Taywin
0
151
Member Avatar for riahc3

Hey I want to do something like this: <script language="javascript"> function calculatesha() { var name = document.getElementById("firstname").value; var last = document.getElementById("lastname").value; var complete = name+last; var hash = <?php echo(sha1(?>complete<?php));?>; } </script> I hope the code is understood even if it is wrong. Thanks.

Member Avatar for riahc3
0
299
Member Avatar for Airshow

Tablesorter (currently v2.0.5) includes an "update" method. This method keeps a Tablesorter object up to date with dynamic changes made to its table(s). Like other Tablesorter methods "update" is implemented in the form of a custom event. A typical method call would be $table.trigger("update"); , where $table is a jQuery …

Member Avatar for punknroll
0
811
Member Avatar for saifali.malik.33

<script> function get_input(id) { var value_id = id.split('_',2); var index = value_id[1]; var input_id = 'input_'+value_id[1]; var value = document.getElementById(id); var input = document.getElementById(input_id); var num = <?php echo $_SESSION['max_num']; ?>; var i= 0; while( i< num) { if(i==index) { // alert(index); //alert(i); // alert(input_id); $("#"+input_id).css({"display":"block" , "width":"106px" , "height":"20px"}); …

Member Avatar for stultuske
0
144
Member Avatar for Lilith24

The turotials online all say to access elements in javascript with document.getElementById(id). But I found I could negate this step and just type in id.attribute. I wanted to know why I didn't actually have to document.getElementById(id) my HTML attributes. Any ideas? <!DOCTYPE html> <html> <body> <p id="p1">Hello World!</p> <p id="p2">Hello …

Member Avatar for Troy III
0
388
Member Avatar for TMD

Ok I have a program that uses HTML to get some values from a user using a form and then it is passed into a javascript function that does some calculations with these numbers and creates a new variable name. What I need help with is that I want to …

Member Avatar for broj1
0
1K
Member Avatar for Simon180

Hello all, I have a small problem with javascript and php what am trying to do is re-code the following script so that the items array uses a php script and a loop to gets information from a database but i dont know how to go about it can anyone …

Member Avatar for broj1
0
282
Member Avatar for kischi

Hi, I have made a small program that enables a user to upload an image and gets it sent back to the users email with a watermark on it. The place where the user uploads the image is in an ajax colorbox and in order for it to send the …

Member Avatar for JJenZz
0
593
Member Avatar for subrata_ushasi

Hi all , I want to display characterwise display of word in a textbox. I think it is possible in ajax. Like if I enter "A" will show in text box "AMERICA" ,"AFGANISTHAN","AUSTRALIA","AFRICA","AGONY","AMNESTY" etc. again if I enter "M" after "A" will filter only "AMERICA" and "AMNESTY" because only matching …

Member Avatar for JorgeM
0
170
Member Avatar for jrosh

I am using flot graphs for jquery in mvc3 razor web app. I'm loading partial view containing a plot graph to a div. I have a pop up window coming from another event. After popup window closes following error gives. *This only happens in IE* Following is the error: "Microsoft …

Member Avatar for pritaeas
0
198
Member Avatar for Pervex

Hi, I have the code , which add the data from input filed to list-box.Now am able to remove individual input's. I want to have option multiple select to remove the data from list box . <form id="frm" action="" method="post"> Select list:<br/> <select name="sel_list" id="sel_list" size="2" onchange="adOption.selOpt(this.value, 'optval')"></select><br/><br/> Add an …

Member Avatar for Taywin
0
211
Member Avatar for robert.rook.501

I need a javascript routine to allow a page that is called to return to whatever page called it, however the new page itself may have multiple pages to go to, so standard javascript window-history-back will not work. I need something like original-page="xxxxxx.htm" Oh yes the routines for both pages …

Member Avatar for Taywin
0
297
Member Avatar for Ajh180

Hi, I have a hover effect whereby an image is being faded out and another is fading in. However, Is there a way for these actions to happen simultaneously? So as one is fading out the other fades in. My code so far is: $('.square').mouseenter(function () { $(this).attr('data-image', 'two'); $(this).find('.one').fadeOut('medium'); …

Member Avatar for JJenZz
0
120
Member Avatar for iamjin04

<html> <head> <script language="JavaScript"> function validator() { if (text_form.name.value == "") { alert("Please enter your name"); text_form.name.focus(); return false; } return true; } </script> </head> <body> <form name="text_form" method="get" action="success.html" onsubmit="validator()"> <label for="name"> Name </label> <input type="text" name="name"/> <br /> <input type="submit" value="submit" /> <input type="reset" value="reset" /> </form> </body> …

Member Avatar for iamjin04
0
170
Member Avatar for LastMitch

Hi I recently create a `Simple JQuery` code with captions with some help from other Daniweb members: http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/434987/havent-issue-with-seeing-alt-with-image-in-jquery I got a better understanding how it works. So I decide to add a `image count` with this code. The past few hours I been trying to modify this code, kinda play …

Member Avatar for LastMitch
0
480
Member Avatar for ratanji

i want validation form without alert message and to display all the empty blocks error messages at a time beside blocks so can any one help me...???

Member Avatar for Taywin
0
148
Member Avatar for roachae

I'm trying to add 'session ending warning' and 'session expired' pop-ups to a site that displays secure data. The session timeout is after an hour. The pop-ups are controlled by javascript using the code below, which checks the time left in the session every minute. BUT... the call to the …

Member Avatar for Taywin
0
362
Member Avatar for jelly46

Can anyone help? I am looking for code for a fundraising thermometer. I have looked and looked and looked. I need it to be html and js Can point me in the right direction.

Member Avatar for pritaeas
0
92
Member Avatar for souravbansal89
Member Avatar for souravbansal89
-1
107
Member Avatar for hoangdungksp

Everybody! First, i have a file iframe_page.php using file_get_contents to display content from another page. <?php $URL = "http://www.funnywow.com/index.php"; $domain = file_get_contents($URL); $domain = preg_replace('/<head>/i', "<head>\n<base href='$URL'>\n", $domain); echo $domain; ?> Next, i have a file index.php containing: <!DOCTYPE html> <html xmlns:fb="http://ogp.me/ns/fb#" lang="en"> <head> <script> function HideDiv() { var x=document.getElementById("myframe"); …

0
106
Member Avatar for maharaja.a1

Hi, i actually tring to get image . in the windows application. Please help on this. Thanks in Advance

Member Avatar for JorgeM
0
32
Member Avatar for dyingatmidnight

Hi there, I'm dynamically pulling my sidebar image from a database, the image is resized to fit based on which dimension is smaller. Then I'm using a jquery script to reposition the image so that any overflow on the width overflows both sides rather than just on the right using …

Member Avatar for LastMitch
0
169
Member Avatar for LastMitch

Hi I recently created a `JQuery Gallery Script` in the `Javascript` section with some help from **pritaeas** & **JJenZz**: Here is the link to the script: http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/434987/havent-issue-with-seeing-alt-with-image-in-jquery The `JQuery` code works you can check the link and test it out. Since the script is in `JQuery`. I want to add …

Member Avatar for LastMitch
0
637
Member Avatar for jamojo

Hello everyone, I am trying to paginate the table below using this plug in. http://neoalchemy.org/tablePagination.html However, I the table did not show properly and I think it still counting the hidden fields. Can you please advise how to solve this or provide an alternative way to do this. Thanks in …

Member Avatar for jamojo
0
133
Member Avatar for kiail

Hello, I'm trying to make a simple search with Javascript to search a form, I need to pull the index of my search term. This is what I have so far, but I'm seriously having issues. Any help is appreciated. <!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"> …

Member Avatar for Taywin
0
180
Member Avatar for Djmann1013

I am having trouble with this code: <!DOCTYPE html> <head> <title>AJAX Chat Test</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- Script --> <script src="jquery.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready( function(){ $("#chats").load("feed.php"); $("#post").submit( function(){ return false; } } ) ); </script> </head> <body> <!-- Messages display here --> <div id="chats"></div> <!-- Post the …

Member Avatar for Djmann1013
0
144
Member Avatar for LastMitch

Hi I want to know the if `GD2` run the same as `JQuery`? For example for `JQuery` you need this: `<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>` for the code to run. But for `GD2` you need a package but I haven't download it yet. I just want to know the **Pro** and **Cons** between …

Member Avatar for LastMitch
0
116
Member Avatar for techyworld

hi i have a sound control on my website, i need to put a condition to check, when the xcoordinate is increasing, the sound volume increase and if xcoordinate is decreasing, sound volume decrease. I'm having trouble to set this condition, i dont know how to put this. Can you …

Member Avatar for techyworld
0
103
Member Avatar for plmexico79

im trying to understand to create a form that process in php but shows the erros in ajax. heres a sample of something i want [Click Here](http://php4every1.com/demos/ajaxSubmit/), i already understand some jquery but not everything , like when i create a form in html do i had to create a …

Member Avatar for pritaeas
0
344
Member Avatar for samith.dilhara

here is the code <div id="test"> <input type="text" name="textfield" /> <div> `$('div#test').html()` render like this along with endtag for `/>` <input type="text" name="textfield" ></input> how can i render it like below <input type="text" name="textfield" /> thanks in advance..!!

Member Avatar for Airshow
0
190

The End.