Hello, Check this out - http://loudev.com/ . I would like to add one more button called Select All to select all the email on leftside to move them to the right side. Any clue how to? Thanks in advance.

Member Avatar
Member Avatar
+0 forum 1

Hi , i have a collection of html element to render the output , and i wanna change element tag for eg h2 tag to h4 and then send to the render output markup in react js . I can do them in jquery but wanna try in reactjs .some ideas will be helpful <fieldset><legend>Clinical Information</legend><h2 style="margin-top:16px;">Summary group</h2><ul><li>Thick</li><li>Black</li><li>Guarding</li><li>Size: small</li><li>Are you sure: yes</li></ul></fieldset> var markup = this.state.htmlsummary // i get the above markup from a api call return <div className="panel panel-info"> <div className="panel-heading">{this.props.summary.Caption}</div> <div className="panel-body"> <div style={divStyle} dangerouslySetInnerHTML={markup}></div> </div> </div>; // renders here in this block

Member Avatar
Member Avatar
+0 forum 1

Let me give you the context. We are a small company 5 persons , two owners and we do have a variety of interests. But to be honest the money flow comes from eshops , there we developed our own platform in PHP in a way that could be in any OOP language , and in strict client side implementation (yes the OOP goes to JS as well and CSS has strict rules) (C++ extensions are there too) . It is frustrating , I must fire today a front end developer because over the past six months made the same …

Member Avatar
Member Avatar
+0 forum 2

Hey everyone, I have a table, that is going to used to calculate IFTA, its a fueltax calculator populated by each state and the rate of each state. My question is, do i need to create a formula for each state? or can i do 1 formula and have it read for each class? Where it says [StateName] that is going to change to what state it is for. <table class="IFTAtable" id="FuelTaxIFTA" width="100%" border="1" cellpadding="2.5" cellspacing="5"> <tr> <th>Juristiction</th> <th>Rate Code</th> <th>Total IFTA Miles by State</th> <th>Taxable Miles</th> <th>MPG </th> <th>Taxable Gallons</th> <th>Tax Paid Gallons</th> <th>Net Taxable Gallons</th> <th>Tax Rate</th> <th>Tax …

Member Avatar
Member Avatar
+0 forum 10

Hello, I wonder why the same code on different server causes tawk not working? On both of them, I install original prestashop template - which is belong to prestashop and free: Is not working on this server: http://ecommerce.advance-web-studio.com/index.php Is working on this server: http://ecommerce.fresway.com/ Can you guess why this code (below) does not work on http://ecommerce.advance-web-studio.com/index.php which I place it on themes/default-bootstrap/footer.tpl <!--Start of Tawk.to Script--> <script type="text/javascript"> var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date(); (function(){ var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0]; s1.async=true; s1.src='https://embed.tawk.to/59bf6f14c28eca75e4620a17/default'; s1.charset='UTF-8'; s1.setAttribute('crossorigin','*'); s0.parentNode.insertBefore(s1,s0); })(); </script> <!--End of Tawk.to Script--> </body> `

Member Avatar
Member Avatar
+0 forum 3

What is the difference between main/index.php and main/ ? Can anyone help me figure that out? I have edit http://www.masterlink.co.id/index.php file yet when I checked it in http://www.masterlink.co.id the file does not load index.php. I thought it suppose to be automatic like http://www.masterlink.co.id/index.php = http://www.masterlink.co.id Can anyone help me figure why that happens? Can anyone help me figure it out? It has many js codes it it.

Member Avatar
Member Avatar
+0 forum 1

I'm creating a pseudo type script at the moment using a well known programs API which uses JS. When the user is prompted and enters in a name since the API uses ECMA 3.0 I cannot directly use String.Prototype.Trim() as it's not supported in ECMA 3.0. I have a prompt set in a do while loop, at present the do while loop checks if the user entered anything otherwise by default "undefined" is created which is the reason for the do while loop, to prevent the user from strictly hitting return and "undefined" is created. Using String.Prototype.Trim() I want to …

Member Avatar
+0 forum 0

How to update address bar with new URL without reloading the page?

Member Avatar
Member Avatar
+0 forum 3

Hello, I am currently working on modifying particular script I have in place. Specifically, I would like to transition the "open" (services_button) and "close" (services__cancel) buttons into a singular toggle element. Here is the script that I am attmepting to modify. Thank You in advance for the assistance. <script> (function() { [].slice.call( document.querySelectorAll( '.services' ) ).forEach( function( el ) { var openCtrl = el.querySelector( '.services_button' ), closeCtrls = el.querySelectorAll( '.services__cancel' ); openCtrl.addEventListener( 'click', function(ev) { ev.preventDefault(); classie.add( el, 'services--active' ); } ); [].slice.call( closeCtrls ).forEach( function( ctrl ) { ctrl.addEventListener( 'click', function() { classie.remove( el, 'services--active' ); } ); } …

Member Avatar
Member Avatar
+0 forum 1

How can I add parameter to this <a href="javascript:;" Or is there any way to post data on the same page on that link above Thanks

Member Avatar
Member Avatar
+0 forum 1

Hello Web Developer, This is working <form class="frm" action=""> <select onChange="window.location.href=this.value"> <option value=""> </option> <option value="../wxmaps/glob/glob_rrpf.html" href target="wxmdisp">Precip + MSLP</option> <option value="../wxmaps/glob/glob_rrwf.html" href target="wxmdisp">[Parameter2]</option> </select> </form> the problem is when I click one item on the drop down list it appear to the same window. I have a frame name "wxmdisp" all of the href links go there But in this drop down I can't manage to open it to the frame "wxmdisp" Please help Thank you and God Bless -zelrick

Member Avatar
Member Avatar
+0 forum 4

Hello Web Developers; I'm having a hard time figure out why I can't do a simple table. I have an lines that contain ul and li, If i put them inside the table tr and th the bullet comes out which is I set it none. Please help me with my code (I hope you guys can understand my trash messy code) This is my HTML file: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.nms.org/"> <html> <head> <title> NMS WRF PORTAL </title> <link rel="stylesheet" href="MasterStyle.css"> <!-- <style types="text/css"> </style> --> </head> <body background="bbg.png"> <!-- This is where the navigation menu will …

Member Avatar
Member Avatar
+0 forum 9

What is the use of tiny mce javascript library ? I m working on jsp project were it uses tinymce.js . i actullay dont know what it does .

Member Avatar
Member Avatar
+0 forum 4

Hi al you wonderful daniweb peoplez :) I am currently on a mission to write some cool javascript / jquery / ajax controls and now i realised that if I call the control multiple times it seems to lose scope. I realise that this is a small design flaw, and would lie to know how I can correct this? I would like to create new instances for each call. Here is the javascript that would create the control: var testProperties = { testControlId: '', defaultText: 'Hello World', }; $.fn.watermarkInput = function watermarkInput(newProperties) { // Make sure that all settings have …

Member Avatar
+0 forum 0

Hello, I search wysiwyg editor with fully support of HTML and PHP. I dont want extra <p> and <b> tags after <?php and before ?>. I prefer to work with PHP to get the content with $_POST. I dont want ajax methods. I test some editors all morning and cannot find proper. I tested this editors: uEditor (baidu) htmlphpeditor ckeditor tinyMCE Line control and some others... Every of them added extra tags in php/html code. I catch the content with $_POST. I read a lot of alternatives to strip br/p tags for ckeditor and tinymce, but without success. When i …

Member Avatar
Member Avatar
+0 forum 4

I'm trying to addrow onclick button, and I need that new row would have the diffrent ids for "keyword" and "chapter" so I can pass the values of these two field in CLO(key, chap) I can only call the CLO() function in orginal row I need to be able to call it in added row and get that row keyword and chapter this my code, could you please help me with the code .thank you <html><head> <script> function addRow(tableID){ var table=document.getElementById(tableID); var rowCount=table.rows.length; var row=table.insertRow(rowCount); var colCount=table.rows[1].cells.length; var cell1=row.insertCell(0); cell1.innerHTML= rowCount+1; for(var i=0;i<colCount;i++){ var newcell=row.insertCell(i+1); newcell.innerHTML=table.rows[1].cells[i+1].innerHTML; }} function CLO() { …

Member Avatar
Member Avatar
+0 forum 3

I have this code to add row to my table function addRow(tableID){ var table=document.getElementById(tableID); var rowCount=table.rows.length; var row=table.insertRow(rowCount); var colCount=table.rows[0].cells.length; var cell1=row.insertCell(0); cell1.innerHTML= rowCount+1; for(var i=0;i<colCount;i++){ var newcell=row.insertCell(i+1); newcell.innerHTML=table.rows[0].cells[i+1].innerHTML; }} and this for AJAX function function CLO() { var a=document.getElementById("keyword").value; var b=document.getElementById("chapter").value; if (a == ""&& b == "") { document.getElementById("CLO").innerHTML = ""; return; } else { if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp = new XMLHttpRequest(); } else { // code for IE6, IE5 xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange = function() { if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { document.getElementById("CLO").innerHTML = …

Member Avatar
Member Avatar
+0 forum 1

I've been using thisJQuery code to fade in divs (all of the same class .showme) But what I would like to do is fade out the previous div as the next one fades in. Can anyone offer assistance on this? $(document).ready(function() { /* Every time the window is scrolled ... */ $(window).scroll( function(){ /* Check the location of each desired element */ $('.showme').each( function(i){ var middle_of_object = $(this).position().top + $(this).outerHeight() / 2; var middle_of_window = $(window).scrollTop() + $(window).height() /2; /* If the object is completely visible in the window, fade it it */ if( middle_of_window >= middle_of_object ){ $(this).animate({'opacity':'1'},2000); } …

Member Avatar
Member Avatar
+0 forum 3

Hi, I build websites using five basic languages. html, css, js, php, and mysql. I have build a lot of websites, but my problem is that everytime I start a new project I start with a blank page. It's time consuming. I wonder if any of you guys have a method that can make the building process easier? please do not suggest templates, or wordpress or joomla. I like to build unique websites.

Member Avatar
Member Avatar
+0 forum 5

i need code shows how can i send information from html page to an email on submit directly with out opening the email broweser or any external url

Member Avatar
Member Avatar
+0 forum 2

Hey all, Im working on a website that has to be capable of viewing youtube video's without having to browse to youtube itself. I followed the tutorials from both video.js and video.js' youtube plugin, but when the page loads, it gives me: Uncaught ReferenceError: videojs is not defined (vjs.youtube.js line 25) The code is as follows: <!-- video.js--> <link href="http://vjs.zencdn.net/4.6/video-js.css" rel="stylesheet"> <script src="https://vjs.zencdn.net/4.6/video.js"></script> <!-- youtube addon. --> <script src="vendor/videojs/video.js/dist/video-js/vjs.youtube.js"></script> <!-- bunch of HTML code, *snip* --> <div id="videoContainer" class="ImageViewerContent tab-pane fade in"> <video id='videoPlayer' class="video-js vjs-default-skin vjs-big-play-centered" data-setup='{ "techOrder": ["youtube"], "src": "https://www.youtube.com/watch?v=6pnr7P0qERA", "preload":"auto", "controls":true, "poster":"https://i.ytimg.com/vi/6pnr7P0qERA/hqdefault.jpg", "width":450, "height":254 }'> <p class="vjs-no-js"><?php …

Member Avatar
Member Avatar
+0 forum 4

I am trying to output the SELECTED TEXT within my javascript code. I created a function that will get the selected text and I just want to output it when the submit button was output. Here's the javascript for getting the selected HTML or TEXT. function getSelectionHtml() { var html = ""; if (typeof window.getSelection != "undefined") { var sel = window.getSelection(); if (sel.rangeCount) { var container = document.createElement("div"); for (var i = 0, len = sel.rangeCount; i < len; ++i) { container.appendChild(sel.getRangeAt(i).cloneContents()); } html = container.innerHTML; } } else if (typeof document.selection != "undefined") { if (document.selection.type == "Text") …

Member Avatar
Member Avatar
+0 forum 2

Hello guys I have a problem with jquery this my code: var count = $(".count"); $('.minus').on('click', function () { if (count.val() > 1) count.val(parseInt($(".count").val()) - 1); }); $('.plus').on('click', function () { count.val(parseInt($(".count").val()) + 1); }); and HTML code: for first product and other products: <td> <input type="button" id="minusInCart" class="minus" value="-"> <input id="quantityInCart" class="count" type="text" name="quantity" value="<?= $cartItem->quantity ?>"> <input type="button" id="plusInCart" class="plus" value="+"> </td> the problem is when i try to press + or - it will count the first product and other products. I want when I press on + or - to count the product that reference to …

Member Avatar
Member Avatar
+0 forum 5

I am creating chat program in php using jquery, ajax and MySQL. and my problem how to auto scroll down when div is overflowed. like when user enter new line it will goes down and I want to auto scroll down when new messages appeares down. and I am trying to do this dynamically using scroll height change to trigger this`$('.main').stop().animate({scrollTop:$('.main')[0].scrollHeight}, 1000);`. because using scroll height chaning it will also scroll to ather users browser who is chating on the other side. I also have tried to trigger scroll down event using `keypress` and `click` event but that is only …

Member Avatar
Member Avatar
+0 forum 4

Hi Friends, Working with communication between a child javascript window and parent jsp function, I am trying to access a function defined in the parent jsp from its child window which is a separate js file. This logic works fine in IE, but breaks in Chrome. * Parent function: multiCreateCallback() * Child JS code to access multiCreateCallback [CODE] var windowCmp = parent.Ext.getCmp('workflowTaskWindow'); var frameVar = windowCmp.getEl().dom.getElementsByTagName("iframe")[0]; console.log("Frame test: "+ frameVar.contentDocument.frames.multiCreateCallback()); [/CODE] No matter what combination I use with frameVar, I can't seem to reach the callback function. 'contentDocument.frames' says undefined 'contentWindow.document.multiCreateCloseCallback()' also gives 'undefined' as error. 'parent.multiCreateCloseCallback();' - gave the …

Member Avatar
Member Avatar
+0 forum 4

I'm tring to move html element on run time. (1) Call function from code behind. (Button1_Click1 event) ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "myfunction", "testFunc(100,200);", true); (2) It redirect to JS function. (This function is used to change the location of html attribute) function testFunc(x,y) { document.getElementById('draggable').style.top = x; document.getElementById('draggable').style.left = y; } in number 2, if add alert, it's working properly. (It means function is executing successfully) But html div is not changing. What could be the problem? This is my HTML code. <div> <b>This is test page<br /> </b> <div id="draggable" class="ui-icon-image"> <img id="img1" src="/Resource/location_icon.png" width="27px" height="45px" /> </div> <asp:Button ID="Button1" runat="server" …

Member Avatar
Member Avatar
+0 forum 1

hello. so to keep it short and simple. I have a button "Cloned" and an <img>. The problem is that the image gets double cloned on the second, third and so on when Cloned button is clicked. Like on the first click image gets cloned and displayed once, on the second click 2 of the image gets displayed instead of one which would now equal to having 3 of the image. On the third click 4 of the image is cloned instead of 1 so now i have alot of the images on just 3 clicks. it is my cloning …

Member Avatar
Member Avatar
+0 forum 2

Hi. i got table A(contact-names) which is where name are populated to from db and table B(guest-names) where names from table A will be appended to. this is the js i came up with to append the names: var msg2 = '<tr class="tr"><td><input type="text" name="GName" class="input-name" placeholder="Doubleclick on a name." size="40" readonly></td></tr>'; $('.contact-names').load('/EMS2/showUser.php'); $(".guest-names").append(msg2); $(".contact-names tr").live("dblclick", function(){ var name = $(this).text(); $(".input-name").val(name); $(".tr").append(msg2); $(this).empty(); }); as u can c the doubleclick function is missing something. as of right now the name does append into the text box and also appends a second text box under the first (good). but then …

Member Avatar
Member Avatar
+0 forum 2

Hello. I just thought of adding the js print function to a page im building. from what i read i know it is pretty straight forward, use window.print. i was thinking about some of these sites that have this printing function that when a button or link is clicked a new tab is open like a preview page then on the bottom right corner there are these options to print and save and what not and i want to do something like that. but i don't know where to start. does that preview page have to be built first? if …

Member Avatar
Member Avatar
+0 forum 2

so what I'm trying to do is build a progress bar using basic page elements with CSS. http://tcll5850.proboards.com/thread/249/post-progress-bars-development what I want to do is set a solid color selected multiple colors in a gradient based off the percent completed. how can I do this?? I'm thinking to provide a hidden DIV styled with the gradient which I can get the current pixel position color from... but I'm not sure how to do that... I don't have any code yet... the display is done using <span> and CSS ([class] and [style] provided by a plugin) thanks :)

Member Avatar
Member Avatar
+0 forum 2

The End.