15,688 Topics

Member Avatar for
Member Avatar for gahhon

public static void Confirmation(string message) { // Cleans the message to allow single quotation marks string cleanMessage = message.Replace("'", "\'"); string script = "<script type=\"text/javascript\">var confirmation=this.document.getElementById('hfConfirmation'); if(confirm('" + cleanMessage + "'))confirmation.value='Yes' else return confirmation.value='No';</script>"; // Gets the executing web page Page page = HttpContext.Current.CurrentHandler as Page; // Checks if the …

Member Avatar for gahhon
0
321
Member Avatar for garyjuano

guys this is my text box a. <input type="text" id="val" value="1,23|20,70|40,100|64,120" > my question is how can i output something like this.? var chart = [[1,23 ],[20,70],[40,100],[64,120]]; any idea? your help would be greatly appreciated thanx in advance.

Member Avatar for minitauros
0
144
Member Avatar for NextCom

I'm using jQuery contains to show records in a page that contains information that matches a search field. This functions works very well, a bit too good actually... The challenge is that it also searches for matching words in SELECT elements that is inside the table column. $(this).find('td:nth-child(2)').each(function () { …

Member Avatar for paulkd
0
457
Member Avatar for trishfernan

Hi, I am delevloping an ebay website. I need to develop the following as explained in the attachment. Just need some tutorial to learn and start developing the system. Please see link [Click Here](http://i1190.photobucket.com/albums/z452/trishfernan/Explanation-iconchange_zps5f958690.png)

Member Avatar for minitauros
0
135
Member Avatar for abhi10kumar

I am using marquee.js for moving images; Its working fine on local server and on static page. But when I include into my .php page (using loop) it is hanging and giving below error **A script on this page may be busy, or it may have stopped responding. You can …

Member Avatar for LastMitch
0
182
Member Avatar for pwolf

I am working towards the goal of a social site, however, being a beginner, I have many questions I need to answer before getting anywhere! One of these is in regards to embedable scripts/ web apps/ widgets. I would like to allow the users of the site to upload web …

Member Avatar for pwolf
0
535
Member Avatar for riahc3

Hello How can I do something like this: <script type="text/javascript"> var one="hi "; var three="there"; <?php echo ConcatTwoStrings(?>one<?php,?>two<?php);?>; </script> That should produce "Hi there". Yes, I know there is concat Javascript functions; Thats not the point as I was simply showing a easy example. How can I do the above? …

Member Avatar for poosapatisuresh
0
12K
Member Avatar for vishalonne

Hello All I am trying to just test a simple javascript code. Following Code is working very fine in FF-14, Google Chrome - 21, Safari - 3.2 <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script type="text/javascript" src="sha512.js"></script> <script type="text/javascript"> function formhash(form, password) { // Create a new element input, …

Member Avatar for VIDASOCIALfairfield
-1
365
Member Avatar for Evil_genius82

Hi All, I have a few questions regarding Ajax and Json if anyone could help clear up for me. I am designing a mobile application (as a small project) which will send continious live data to a php file which will then forward this to be stored in a MySQL …

Member Avatar for allualtaf
1
156
Member Avatar for Dennis73

In some web sites, ebay and Amazon specifically, they have several thumbnails below a larger image. When you hover over one of the thumbnails the corresponding larger image is displayed in the space above. This effect would be perfect for a site that I am working on right now. Can …

Member Avatar for number
0
1K
Member Avatar for riahc3

Hello I want to have a drop down menu showing small thumbnail pictures and text in a "smartphone like" grid. What can I use to accomplish this? Thank you

Member Avatar for riahc3
0
834
Member Avatar for Burhan_1

I created a script which shows result on a new window popup window.open('http://google.com','_blank','2','width='+screen.width+',height=50,left=0,top=0,toolbar=0,location=0,menubar=0'); window.open('http://yahoo.com', '_blank','3','width='+screen.width+',height=50,left=0,top=200'); First popup open easily but others are blocked in browser, i want to disable popup blocker when my domain load or when unblock popup when my domain loads. I am creating a script like farecompare …

Member Avatar for dany12
-1
411
Member Avatar for robert_anderson

I would like to connect Softphones with each other. I would like to check <B>what phone calls are being in progress</B> in the system, more precisely, between the actual phones. If it is possible, I would like a solution for the case when any of the participants calls the other, …

Member Avatar for LastMitch
0
422
Member Avatar for accra

Hi all, I have this ajax script that accepts only one value at a time. I want to send more than one value to mysql for processing... but am not so good with javascript, pls point me in the right way....thanks // auto select vehicle # and fleet # <script> …

Member Avatar for accra
0
407
Member Avatar for adrive

hi again, i'm wondering if it's possible to return an array from my php generated content to ajax's responseText. I tried echoing back the whole array variable but can't seem to fully receive it in javascript. somewhere in file1.php <?php $myArray = array(); $myArray['name'] = "ajax tech"; $myArray['age'] = 20; …

Member Avatar for ivan.danshin.9
0
5K
Member Avatar for littledevils326

I have an HTML table which displays records from a database. The data are stored in sql database and the records are retrieved as a JSON object and then appended to the table. Rather than loading all the data in the table, I have a button which allows the user …

Member Avatar for LastMitch
0
911
Member Avatar for while(!success)

Hi guys, I've been trying to implement autocomplete on a form I'm creating and was successful with using a global variable as the source. Now i'm trying to use a hiddenfield as the source, but it does not seem to work. Firebug shows the error "414 Request-URI Too Long." Is …

Member Avatar for LastMitch
0
507
Member Avatar for NoUserNameHere

I was trying to get the basics of angular.js down by following this video: http://www.youtube.com/watch?v=i9MHigUZKEM#t=44m52s The routing in the video is outdated so I tried to fix it with by including the new required arguments like ['ngRoute']. I can't figure out why it isn't working. Am I missing addtional things …

Member Avatar for LastMitch
0
207
Member Avatar for gahhon

Is that any way/tricks that able to validate the end-users choosen date is not greater than today?

Member Avatar for gahhon
0
66
Member Avatar for mmcdonald

I'm having difficulty opening message content for each unique message because I'm struggling to get the PHP variable `$message['id']` to a url defined in a javascript file. My foreach loop that echos out all of the messages for the user: foreach($mess_data as $message){ echo' <tr '.(($message["read"] == '0') ? 'class="unread"' …

Member Avatar for htmlearner
0
2K
Member Avatar for pawan768

Hi i want to check the scroll position , like if its greater than 200 from top they it may generate a popup for signup <script> jQuery(document).ready(function($) { // hide #back-top first // fade in #back-top $(function() { $(window).scroll(function() { if ($(this).scrollTop() > 100) { alert(123); } else { alert(321); …

Member Avatar for pawan768
0
165
Member Avatar for SamarthWiz

Hi, I'm using `THREE.PointerLockControls` and whenever I use them I can't get anything to show up except the ground. My code is based on what I see here: https://github.com/mrdoob/three.js/blob/master/examples/misc_controls_pointerlock.html I know that it works because when I switch to orbit controls (and disable pointerLock) everything works just fine. I know …

Member Avatar for SamarthWiz
0
1K
Member Avatar for ehpratah

Good Day Guys So im having this issue with this site that i develop which is running 24/7 that eats a huge amount of bandwidth every time the page reload every 10sec using META TAG that is affecting our operations specifically our net connection. What i wanna know is if …

Member Avatar for ehpratah
0
359
Member Avatar for shrikanthnk

Hi below code prints tempnum correctly but not tempname. Kinly look into this. <html> <head> <script type="text/javascript" src="jquery-2.0.3.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $(".mylinktempnum").click(function(){ alert($(this).attr('href').match(/tempnum=([0-9]+)/)[1]); *alert($(this).attr('href').match(/tempname=([a-z]+)/)[1]);* }); }); </script > </head> <body> </body> </html> <?php <a class=\"mylinktempnum\" href=\"home.php?tempnum=$num&tempname=$name\"></a> ?>

Member Avatar for diafol
0
198
Member Avatar for amrita111

Here Iam creating two dialog boxes on the click on links.When Dialog box no. 1 is open and I press escape key then it gets closed but this is not the case with dialog box no. 2.Why so? <script src="http://code.jquery.com/jquery-1.9.1.js"></script> <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script> <a href="#" id="PopUpLink">Open Popup</a> <br><br><br> <input type="button" value="Click …

Member Avatar for topdude155
0
214
Member Avatar for gahhon

![2674d0acdc10dfedc0936567f2209b57](/attachments/large/3/2674d0acdc10dfedc0936567f2209b57.jpg "2674d0acdc10dfedc0936567f2209b57") As you can see my ajax calender positioning is not below of the textbox of "Date of Birth". This webpage is consist Javascript which applied scrolling animation by clicking each of the sub menu at the left instead of post back. Here is my asp.net code <asp:ToolkitScriptManager ID="ToolkitScriptManager1" …

Member Avatar for JorgeM
0
178
Member Avatar for Mona Ali

Hi to all this code work well but i want that password appear in asterisk.. [CODE]<SCRIPT language="JavaScript"><!-- function check() { // Prompt user for the password ... pwd = prompt('Enter password before continuing',''); // ... then set the browser location. (change the line below this one!) if(pwd=="sidra") { location.href = …

Member Avatar for raviragarwal292
0
2K
Member Avatar for weeraa

I want to call jquery function (or something like that) from vb code. This is what i need. There is a VB function named Calculation(). It takes few seconds to complete the calculation. (Let's get it is taken 10 Seconds) In this 10 seconds the user don't know something is …

Member Avatar for JorgeM
0
2K
Member Avatar for dany12

I need a way to store x y height and width in 4 jquery variables I was thinkink about the jquery ajax get but don't know how to achive this. This is my code <?php $result = $pdo->query('SELECT * FROM figures'); foreach ($result as $row=>$value) { echo '<li>'."My value is" …

Member Avatar for dany12
0
248
Member Avatar for mgold

First, just to clear this up, I did not post this is the wrong place. I know the difference between "Java" and "Javascript" I'm working on a project where I want to allow a simple, no intense programming required, way for users to create custom functionality. This is a simplified …

Member Avatar for JamesCherrill
0
370

The End.