15,698 Topics

Member Avatar for
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
167
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
361
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
202
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
216
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
181
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
249
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
378
Member Avatar for pavanik

Write a java script function which will convert an array to a string. Add this function to a HTML page and should be executed in button click event?

Member Avatar for Assembly Guy
-1
133
Member Avatar for brandon66

Hello everyone, im trying to implement select 2 with jquery validation engine pos-absolute but i cant seem to get it right does anyone know how i would get this working correctly? When an option is selected in the select box the validation engine will still say its required. not allowing …

Member Avatar for hag++
0
585
Member Avatar for Kris_2

Hello, I'm relatively new to php and ajax. I'm missing a key concept I think, which is causing my unexpected result. I have a php pure css navbar. User selects menu item, which is a button that launches javascript <script> function loadXMLDoc(yearurl) { var xmlhttp; if (window.XMLHttpRequest) // code for …

Member Avatar for Kris_2
0
374
Member Avatar for erum

hi to all Please let me knwo how to cover these with datatable if data comes from northwind datatable http://support.softwarefx.com/jChartFX/article/2501243#82490a45-4c79-e211-84a5-0019b9e6b500 in above link data is hard coded ..

Member Avatar for erum
0
115
Member Avatar for accra

Am using ajax to populate a drop down list, and it works fine, but i just can't find a way to make choosen.proto to work. It works on other drop-down, but not the one populated with ajax. In short, the form must allow the user to select multiple items Here …

Member Avatar for accra
0
231
Member Avatar for grafic.web

Hi, i applyed an CalendarExtender to my text box, this is the code : <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <div> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <asp:CalendarExtender ID="TextBox1_CalendarExtender" runat="server" Enabled="True" TargetControlID="TextBox1"> </asp:CalendarExtender> </div> </form> </body> </html> but when i run it, i get this …

Member Avatar for grafic.web
0
753
Member Avatar for yaragalla_mural

Normally when we use post method with forms, the requests are geting cached. I mean when we use the back button to visit the previous page the request is not being sent to the server to display the previous form. It just loads the form from the cache and loads …

Member Avatar for yaragalla_mural
0
220
Member Avatar for NewHeart42108

I am creating a form which dynamically creates a list of options to purchase. The list is generated from a database. The PHP is <?php for($i = 1; $i <= $opt_count; $i++){ $desc = $options['description'][$i]; $prc = $options['price'][$i]; $type = $options['type'][$i]; $size[$i] = '&nbsp;'; $option_text = <<<TABLE <tr> <td>$desc</td> <td …

Member Avatar for ryantroop
0
256
Member Avatar for yaragalla_mural

Hi we have developed a web app. In the 1st html page based on the user interaction we are inserting some html into the page using javascript. when user moves to the 2nd page everything is fine. Now if user presses the back button then 1st html is displayed without …

Member Avatar for yaragalla_mural
0
646
Member Avatar for hilRunr

My image is embedded in a table cell. I need to know how far it is from edge of window. offsetLeft does not work for this. Neither does style.left.

Member Avatar for hilRunr
0
196
Member Avatar for gahhon

#HTML Markup <table> <tr> <td><asp:Label runat="server" Text="Subject: " /></td> <td><asp:TextBox ID="txtSubject" runat="server" /> <asp:RequiredFieldValidator runat="server" ErrorMessage=" *" ControlToValidate="txtSubject" Font-Size="10pt" ForeColor="Red" /> </td> </tr> <tr></tr><tr></tr><tr></tr> <tr> <td><asp:Label runat="server" Text="Messages: " /></td> <td><asp:TextBox ID="txtMessage" runat="server" TextMode="MultiLine" Height="100px" Width="18em" /> <asp:RequiredFieldValidator runat="server" ErrorMessage=" *" ControlToValidate="txtMessage" Font-Size="10pt" ForeColor="Red" /> </td> </tr> <tr></tr><tr></tr><tr></tr> <tr> <td><asp:Button …

Member Avatar for gahhon
0
302
Member Avatar for YakuzaJevin

i need to improve my skills in java, because i really like software development and web development, but i dont think my skills is in the average level, so if anyone can give me some, advice or maybe some lectures? it would be very helpful THANKS IN ADVANCE :)

Member Avatar for hag++
0
257
Member Avatar for kseguy

I have this small project to mine that I am using to learn web development but I've been stuck at a certain point now with AJAX for 3 days now. I have this ajax code that is supposed to submit to a PHP file. function submitArticle() { xhr = new …

Member Avatar for hag++
0
2K
Member Avatar for laura301019

I have a javascript table that displays contents from an XML file(that stores letter details), I have at each row a view button which I would like the user to be able to click and it will display the letter details for them. Is this possible? The javascript I have …

Member Avatar for GliderPilot
0
260
Member Avatar for Moderns

I have created a slide show to load images, it should start the slide show after loading the images completely in the cache of the browser. The problem, the images are not loaded completely. When the slide show starts, I notice delay in viewing images. I would greatly appreciate your …

Member Avatar for theHop
0
225
Member Avatar for shrikanthnk

Hi , Kindly help me to display tempnum when ahref is clicked. Looks like code marked as Italic requires needs to be updated?? <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('this.tempnum'));* }); }); </script > </head> <body> </body> </html> <?php <a class=\"mylinktempnum\" href=\"home.php?tempnum=$num\"></a> ?>

Member Avatar for shrikanthnk
0
189
Member Avatar for brynFlew

hello, i was wondering if anyone could help me find a way to allow a user to click items in a combo box and have its value populate an input field. Thanks

Member Avatar for Samanalevi
1
370
Member Avatar for Alan_3

I have a requirement to make the height of a sidebar grow relative to the height of the main window. I currently have a sidebar that is sized to its content, but the main window is always much longer. Is it possible to (a) determine the height of the main …

Member Avatar for designershiv
0
4K
Member Avatar for hasan101002
Member Avatar for Waado

Does anyone here know how i could modify this java script code which automatically refresh a page due to the time interval you set. I need assistance on how i can modify this code so it refreshes only once when the page is opened, <script> <!-- /* Auto Refresh Page …

Member Avatar for JorgeM
0
1K

The End.